Thank you for quick reply. This was exactly how I understood it to be when I read up on the commit on github, and this is what I have been trying to do. But it does not effect the logging. I am running version 3.6.1, and if I understand it correct this was implemented in 3.6.0, so it should work but isn't.
I have tried to put it under [StdReport] and all reports their under, and under [StdRESTful]. No matter where I put it, it does absolutely nothing to lessen the output to syslog. Den tisdag 21 november 2017 kl. 23:13:45 UTC+1 skrev mwall: > > > > On Tuesday, November 21, 2017 at 4:36:10 PM UTC-5, Daniel Jönsson wrote: >> >> I cant seem to get it to work. And I cant find it in the user guide ( >> http://www.weewx.com/docs/usersguide.htm) were to put it. >> I would also very much like to only have errors in my log. >>> >>> >>> > commit 6b461c9 > <https://github.com/weewx/weewx/commit/6b461c98b15c880c6b1bfc74879edba74b37e218> > applies > to reports > > use it like this: > > [StdReport] > log_success = False > log_failure = True > > then optionally specialize for individual reports. for example, to log > success for StandardReport but not for others: > > [StdReport] > log_success = False > log_failure = True > ... > [[StandardReport]] > log_success = True > ... > [[AnotherReport]] > ... > > this pattern should also work for uploaders: > > [StdRESTful] > log_succes = False > log_failure = True > > we probably should do it for the archive service as well, which would > probably indicate that one should be able to specify log_success and > log_failure at the root of weewx.conf then override for each service as > necessary. > > m > -- 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]. For more options, visit https://groups.google.com/d/optout.
