Hauptmenü

[FHZ] Spaces in logs

Begonnen von Guest, 19 Dezember 2009, 23:30:17

Vorheriges Thema - Nächstes Thema

Guest

Originally posted by: <email address deleted>

Is there a certain reason, why there are 2 spaces after the
T: 19.6 when logging S300 values?

2009-12-19_16:41:05 FLUR T: 19.6  H: 35.4
                                                       ^^

And can I avoid these spaces?

a.


--

You received this message because you are subscribed to the Google Groups "FHEM users" group.
To post to this group, send email to fhem-users@googlegroups.com.
To unsubscribe from this group, send email to fhem-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fhem-users?hl=en.

Matthias Gehre

                                                   

On Sat, Dec 19, 2009 at 11:30:17PM +0100, Andy Fuchs wrote:
> Is there a certain reason, why there are 2 spaces after the
> T: 19.6 when logging S300 values?

Yes, they make the logfile more readable (IMHO)

> And can I avoid these spaces?

Yes, edit 14_CUL_WS.pm, and delete them. :)

--

You received this message because you are subscribed to the Google Groups "FHEM users" group.
To post to this group, send email to fhem-users@googlegroups.com.
To unsubscribe from this group, send email to fhem-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fhem-users?hl=en.

UliM

Originally posted by: <email address deleted>

> On Sat, Dec 19, 2009 at 11:30:17PM +0100, Andy Fuchs wrote:
>> Is there a certain reason, why there are 2 spaces after the
>> T: 19.6 when logging S300 values?
>
> Yes, they make the logfile more readable (IMHO)

Hm... I just found there are 2 spaces by hex-edit the file ;-). Visually
close to no difference...
 
>> And can I avoid these spaces?
>
> Yes, edit 14_CUL_WS.pm, and delete them. :)

Thanks for the hint. I'm pretty new to all this, so these kind of hints are
very welcome...

Just one more thing that puzzles me:

I changed 92_FileLog.pm to allow wildcards for the whole path:

i.e.:
define testlog FileLog /var/log/fhem/%Y/%Y-%m/%Y-%m-%d.log *T:.*

Everything is well, the logs are created and filled, but the pgm2 (in
section 'logs') just show the log as 'active', but can't show the text. Can
you  also give me a hint, where to make that work?

thx

andy



>
> --
>
> You received this message because you are subscribed to the Google Groups
> "FHEM users" group.
> To post to this group, send email to fhem-users@googlegroups.com.
> To unsubscribe from this group, send email to
> fhem-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/fhem-users?hl=en.
>
>


--

You received this message because you are subscribed to the Google Groups "FHEM users" group.
To post to this group, send email to fhem-users@googlegroups.com.
To unsubscribe from this group, send email to fhem-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fhem-users?hl=en.
RPi4/Raspbian, CUL V3 (ca. 30 HomeMatic-devices), LAN (HarmonyHub, alexa etc.).  Fördermitglied des FHEM e.V.