Thanks Tom,
I re-read your logged 
<https://github.com/weewx/weewx/wiki/WeeWX-v4-and-logging> 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 WeeWX logging config schema
   
First, read, or, at least, attempt to read, the section on the schema of 
> the configuration dictionary 
> <https://docs.python.org/3/library/logging.html#module-logging> that 
> logging uses.
>


   -  Perhaps add a commented out example [Logging] section to the 
   weewx.conf.dist.


Unrelated, I thought that wunderfixer is no longer functional based on API 
changes at WU.  If correct then there is still a remnant in weewx.conf.dist:

>         # If you plan on using wunderfixer, set the following
>         # to your API key:
>         api_key = replace_me
>

Thank you for continuing this project and bringing it up to Py3!
cjn


On Friday, May 15, 2020 at 4:55:31 AM UTC-7, Tom Keffer wrote:
>
> Version 4.0 allows much more control over what gets logged 
> <https://github.com/weewx/weewx/wiki/WeeWX-v4-and-logging>. 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 at 9:53 PM Chris Nelson <[email protected] 
> <javascript:>> wrote:
>
>> 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 journal: weewx[7760] INFO weewx.manager: Added 
>>> record 2020-05-12 18:55:00 MST (1589334900) to database 'weewx.sdb'
>>>
>>> May 12 18:55:15 shop2 journal: weewx[7760] INFO weewx.manager: Added 
>>> record 2020-05-12 18:55:00 MST (1589334900) to daily summary in 'weewx.sdb'
>>>
>>
>> This was noted back in 2017 also by Daniel Jönsson in this thread 
>> <https://groups.google.com/forum/#!topic/weewx-user/-OJF9-XBU3s> - not a 
>> new issue.  I just commented out the two calls to log.info().  I'm just 
>> working to clean up noise in my system 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 [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/11778f1a-f56b-4753-97e9-4bc53c9a03e3%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/11778f1a-f56b-4753-97e9-4bc53c9a03e3%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/e7e1574e-1066-4760-b1fe-556b4259bf10%40googlegroups.com.

Reply via email to