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.