Custom station driver no longer emitting DEBUG messages to weewx.log after upgrade from 3.9.2

18 views
Skip to first unread message

Greeebs

unread,
Jul 8, 2020, 6:32:44 PM7/8/20
to weewx-user
I've just recently upgraded from 3.9.2 to 4.1.1-1 (deb package version) on a Raspberry Pi connected to a custom "weather station" based on NRF24L01+ radios (with one directly connected to the Pi).
My custom driver is still working, as I'm seeing correct weather data within weewx, but I'm no longer seeing the DEBUG messages the driver emits in /var/log/weewx.log.
I can see the DEBUG messages from the other components of weewx in the log as expected, and the go away when I change debug=1 to debug=0 in weewx.conf.

Did something change with the location of driver debug messages between 3.9.2 and 4.x?

Thanks for any pointers here!

Tom Keffer

unread,
Jul 8, 2020, 6:43:22 PM7/8/20
to weewx-user
Big changes!

WeeWX switched from the Python 'syslog' module to the 'logging' module. Details, including how to write extensions that are backwards portable, can be found here: https://github.com/weewx/weewx/wiki/WeeWX-v4-and-logging

Let me know if you have any questions.

-tk

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/6a887beb-f372-4a3b-8782-763694cfedd7o%40googlegroups.com.

Greeebs

unread,
Jul 8, 2020, 6:49:23 PM7/8/20
to weewx-user
Ah-ha, that will explain it. Looks like I've got some updating to do :)
Thanks heaps for the prompt reply and for WeeWX!

On Thursday, July 9, 2020 at 8:43:22 AM UTC+10, Tom Keffer wrote:
Big changes!

WeeWX switched from the Python 'syslog' module to the 'logging' module. Details, including how to write extensions that are backwards portable, can be found here: https://github.com/weewx/weewx/wiki/WeeWX-v4-and-logging

Let me know if you have any questions.

-tk

On Wed, Jul 8, 2020 at 3:32 PM Greeebs <rjsp...@gmail.com> wrote:
I've just recently upgraded from 3.9.2 to 4.1.1-1 (deb package version) on a Raspberry Pi connected to a custom "weather station" based on NRF24L01+ radios (with one directly connected to the Pi).
My custom driver is still working, as I'm seeing correct weather data within weewx, but I'm no longer seeing the DEBUG messages the driver emits in /var/log/weewx.log.
I can see the DEBUG messages from the other components of weewx in the log as expected, and the go away when I change debug=1 to debug=0 in weewx.conf.

Did something change with the location of driver debug messages between 3.9.2 and 4.x?

Thanks for any pointers here!

--
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 weewx...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages