Hi there!

I recently installed weewx on a CentOS stream fresh install.
I wanted to move weewx logs in a separate file, using what's provided in 
/etc/weewx/rsyslog.d

I think this file may need some updates (or I missed something ?)

in the logs (/var/log/messages on my distro), weewx does not show directly 
as a program but as sub something of "journal", like this:

May 27 12:31:57 myserver journal[794]: weewx[794] INFO user.sftp: 
sftpgenerator: transferred 19 files in 13.40 seconds

so I modified the rsyslog settings this way:

# use this syntax for rsyslog in most modern distributions
:programname,contains,"weewx" /var/log/weewx/weewx.log
:programname,contains,"weewx" stop
:msg,startswith,"weewx" /var/log/weewx/weewx.log
:msg,startswith,"weewx" stop
:programname,startswith,"wee_" /var/log/weewx/weewx.log
:programname,startswith,"wee_" stop
:msg,startswith,"wee_" /var/log/weewx/weewx.log
:msg,startswith,"wee_" stop


it works more or less, except with the logs from my custom driver that 
still show up in /var/log/messages this way:

May 27 12:36:21 myserver /weewxd[794]: wxMesh: packet content: outHumidity 
=  51.86


Is there something I shall try for those "/weewxd" message? 







-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3bd5ade6-7e3a-497f-8b0a-1893178e00e1n%40googlegroups.com.

Reply via email to