rgerganov / py-air-control

Command line app for controlling Philips air purifiers
MIT License
256 stars 52 forks source link

Always prints debug output #71

Open johtso opened 3 years ago

johtso commented 3 years ago

When I run the airctrl command, I get loads of debug output from coapthon3.

Shouldn't that only be shown if the debug flag is given?

2020-11-26 22:24:18,195 - MainThread - coapthon.layers.messagelayer - DEBUG - send_request - From None, To ('192.168.50.221', 5683), None-None, POST-QU, [Uri-Path: sys, Uri-Path: dev, Uri-Path: sync, ] 74C781E8...8 bytes
2020-11-26 22:24:18,195 - MainThread - coapthon.client.coap - DEBUG - send_datagram - From None, To ('192.168.50.221', 5683), CON-64825, POST-QU, [Uri-Path: sys, Uri-Path: dev, Uri-Path: sync, ] 74C781E8...8 bytes
2020-11-26 22:24:18,196 - Thread-1   - coapthon.client.coap - DEBUG - Start receiver Thread

etc..

rgerganov commented 3 years ago

This is another nonsense from CoAPthon3, see issue #55