RE: [weewx-user] Noisy logging, log_success = False not followed

2020-05-25 Thread nineback
Thanks Tom. Working fine now. Tom From: weewx-user@googlegroups.com On Behalf Of Tom Keffer Sent: Monday, May 25, 2020 6:13 PM To: weewx-user Subject: Re: [weewx-user] Noisy logging, log_success = False not followed My apologies. The layout of the configuration dictionary

Re: [weewx-user] Noisy logging, log_success = False not followed

2020-05-25 Thread Tom Keffer
> [[[rotate]]] > > level = DEBUG > > formatter = verbose > > class = logging.handlers.RotatingFileHandler > > filename = /var/log/weewx.log > > > > Tom > > > > *From:* weewx-user@googlegroups.com *On > Beha

RE: [weewx-user] Noisy logging, log_success = False not followed

2020-05-25 Thread nineback
logging, log_success = False not followed Sorry, Tom. This is due to a bug in how weewx configures the logger. The problem is that weewx does not convert strings to int when configuring. It was fixed a couple weeks ago (commit <https://github.com/weewx/weewx/com

RE: [weewx-user] Noisy logging, log_success = False not followed

2020-05-15 Thread nineback
Thanks Tom. I updated the logger.py file and all is well. I also changed the formatter to verbose so I could get date/time stamps. Tom From: weewx-user@googlegroups.com On Behalf Of Tom Keffer Sent: Friday, May 15, 2020 7:09 PM To: weewx-user Subject: Re: [weewx-user] Noisy logging

Re: [weewx-user] Noisy logging, log_success = False not followed

2020-05-15 Thread Tom Keffer
Sorry, Tom. This is due to a bug in how weewx configures the logger. The problem is that weewx does not convert strings to int when configuring. It was fixed a couple weeks ago (commit 6348741

RE: [weewx-user] Noisy logging, log_success = False not followed

2020-05-15 Thread Chris Nelson
Thinking out loud here... Running as the Pi user? Have write access to /var/log? -- 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

RE: [weewx-user] Noisy logging, log_success = False not followed

2020-05-15 Thread nineback
to add [Logging} to the weewx.conf file. Tom From: weewx-user@googlegroups.com On Behalf Of Tom Keffer Sent: Friday, May 15, 2020 6:55 AM To: weewx-user Subject: Re: [weewx-user] Noisy logging, log_success = False not followed Version 4.0 allows much more control over what gets logged

Re: [weewx-user] Noisy logging, log_success = False not followed

2020-05-15 Thread Chris Nelson
Thanks Tom, I re-read your logged page in detail after I posted this issue. A couple of suggestions for the not fully initiated: - This link points to the Python logger documentation, whereas I thought I'd be reading about the

Re: [weewx-user] Noisy logging, log_success = False not followed

2020-05-15 Thread Tom Keffer
Version 4.0 allows much more control over what gets logged . To suppress everything below log level WARN, put this at the bottom of weewx.conf: [Logging] [[loggers]] [[[weewx.manager]]] level = WARN -tk On Thu, May 14, 2020

[weewx-user] Noisy logging, log_success = False not followed

2020-05-14 Thread Chris Nelson
These two log.info lines in manager.py do not use the config file log_success switch, resulting in entries every five minutes. Adding the log_success switch test within _addSingleRecord instances is not trivial since the config is not passed to the object. > May 12 18:55:15 shop2