I upgraded using the debian apt method, reconfigured my specifics in 
weewx.conf, and it's all working correctly now. Thank you for the prompt 
reply and excellent documentation.

On Monday, July 8, 2024 at 12:29:27 a.m. UTC-3 Tom Keffer wrote:

> V5.0.0 had a bug that prevented debug statements from being logged. See 
> commit 2180853 
> <https://github.com/weewx/weewx/commit/218085303efb3b31623a0d6aa157e51cc2bdb2e9>
> .
>
> Plus, it had a serious bug that can cause system damage when installing 
> and removing extensions. You really should upgrade to V5.1.0.
>
> -tk
>
> On Sun, Jul 7, 2024 at 9:12 AM [email protected] <[email protected]> 
> wrote:
>
>> I've been malingering in keeping up with weewx development. I 
>> accidentally did a global upgrade to my debian system, which upgraded weewx 
>> to 5.0.0, and am being punished for my sins.
>>
>> Enough changed that my custom driver isn't working anymore. I went into 
>> /etc/weewx/weewx.conf and set
>> debug = 1
>>
>> But I am not getting log entries from this code:
>> def on_message(self, client, userdata, msg):
>> self.payloadQueue.put(msg.payload.decode('utf-8'))
>> log.debug("Added to queue of %d message %s" % (self.payloadQueue.qsize(), 
>> msg.payload))
>>
>> Has something changed in how we set logging levels?
>>
>> If I change log.debug to log.info, I do see messages like
>>
>> Jul  7 13:10:39  weewxd[3741587]: INFO user.wxMesh: Added to queue of 2 
>> message b'{"TIME":2568552,"INTE":22.230354,"INHU":55.553955}'
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "weewx-development" 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-development/910d929d-a951-43da-b922-44ab11818838n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-development/910d929d-a951-43da-b922-44ab11818838n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/e45b375d-42c0-4658-859b-0a5974271f1en%40googlegroups.com.

Reply via email to