joopert / nad_receiver

python api to connect to NAD receivers
MIT License
12 stars 18 forks source link

Add logging #30

Closed gladhorn closed 4 years ago

gladhorn commented 4 years ago

Just the very basic infrastructure to make debugging easier. Since most people have only one receiver, we need to be able to capture logs.

One option for users is to simply uncomment one line to enable logging of all communication through serial or telnet.

gladhorn commented 4 years ago

@andreas-amlabs this might be interesting for you - uncomment the line # _LOGGER.setLevel(logging.DEBUG) (remove '# ') and run the sequence that was giving you trouble, the startup. I'm not sure if that helps, but we might get a tiny step closer to understanding what is going on.