On 20/03/2023 15:59, Tom Keffer wrote:
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]
<mailto:[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.
That was me. My forked version can be found at
<https://gitlab.com/mfraz74/bme280wx/>
--
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/a7b82e5c-ab12-7fbf-5925-499e89b5546e%40gmail.com.