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.

Reply via email to