It appears that the bme280wx extension has not been updated and still uses
the old style "syslog" logging. Assuming you are using a Debian based
system, this can only be controlled through /etc/rsyslog. See "man
rsyslog.conf"

Or, modify the extension to use the newer style Python "logging", then
submit a merge request to the author. It looks like someone did this 9
months ago <https://gitlab.com/wjcarpenter/bme280wx/-/merge_requests/2>,
but the author has not acted on the request. Perhaps you can just copy the
merge request?

-tk

On Mon, Mar 20, 2023 at 4:59 AM Zed <[email protected]> wrote:

> I am using weewx 4.9.1 with a Bresser5in1 together with the extension
> bme280wx in version 1.0.
> For every messure I find messages like these every ~ 15 seconds in each of
> user.log, syslog,  debug and messages:
>
> ... weewxd: bme280: {'outHumidity': 99.0, 'outTemp': 9.1, ...
> ... weewxd: bme280: BME280 data compensated_reading(id=...
>
> Off cource this is filling my /var/log filesystem every couple of days.
> I followed the advice in How to limit syslog logging
> <https://groups.google.com/g/weewx-user/c/F-NSuxfXgSg/m/gEsXENLoCgAJ>
> which didn't help much.
> How can i control in which log files these messages are being logged?
>
> debug = 0 is set in weewx.conf.
>
> --
> 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/b3f7c414-9e6f-4dde-98b0-1929916a30a4n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/b3f7c414-9e6f-4dde-98b0-1929916a30a4n%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/CAPq0zEAjEOTOyEkvD5AOcTxAm%2BGk3EGrb-OVuv4Xa6ry%2B1r31g%40mail.gmail.com.

Reply via email to