Suppression of WU record output in /var/log/syslog

37 views
Skip to first unread message

GCC Observatory

unread,
Jun 24, 2019, 1:39:47 AM6/24/19
to weewx-user
Hi all,

First time posting here.  I recently updated to 3.9.1 and noticed that the following appears in /var/log/syslog every time my weather station updates to WU, which is every 2 seconds:

.
.
.

Jun 24 01:34:49 talon weewx[1966]: restx: Wunderground-RF: Published record 2019-06-24 01:34:50 EDT (1561354490)
Jun 24 01:34:51 talon weewx[1966]: restx: Wunderground-RF: Published record 2019-06-24 01:34:52 EDT (1561354492)
Jun 24 01:34:53 talon weewx[1966]: restx: Wunderground-RF: Published record 2019-06-24 01:34:54 EDT (1561354494)
Jun 24 01:34:55 talon weewx[1966]: restx: Wunderground-RF: Published record 2019-06-24 01:34:56 EDT (1561354496)
Jun 24 01:34:57 talon weewx[1966]: restx: Wunderground-RF: Published record 2019-06-24 01:34:58 EDT (1561354498)
.
.
.

I have to monitor syslog frequently to look for events associated with my computer and the the restx output spams up the log too much for me.  Is there an option to keep weewx from updating the syslog with these messages?  I realize I could set rapidfire=false and only update WU every five minutes to cut down on the spam, but I'd like to keep it the way it is.

Thanks

gjr80

unread,
Jun 24, 2019, 3:28:11 AM6/24/19
to weewx-user
Hi,

In weewx.conf try setting log_success as follows:

[StdRESTful]
....
[[Wunderground]]
....
log_success = false

Save weewx.conf then restart WeeWX. That should stop WeeWX logging successful WU posts but you should still see any post failures.

Gary

GCC Observatory

unread,
Jun 24, 2019, 3:59:26 AM6/24/19
to weewx-user
Thanks for the tip, but I thought of that of already and setting log_success=false suppresses *all* successful weewx log entries, not just WU.  I'm looking for it to only suppress WU updates.

gjr80

unread,
Jun 24, 2019, 4:01:07 AM6/24/19
to weewx-user
Where did you put it? At the top of weewx.conf or under [[Wunderground]]?

Gary

GCC Observatory

unread,
Jun 24, 2019, 4:04:30 AM6/24/19
to weewx-user
I didn't put in under [[Wunderground]], but I just did and it seems to be working.  That did it, thanks!
Reply all
Reply to author
Forward
0 new messages