But then the log level is set for the logging lib and not only for the phue logger:
logging.basicConfig(level=logging.DEBUG)
From my understanding it should be the following, otherwise ALL loggers outside phue will be set:
logger.setLevel(logging.DEBUG)
TLDR: Libraries consuming phue and using an unscoped logger will (properly) be set by phue. In my case I had to give MY logger MY scope as the log level of the phue logger had been set.
The phue logger is set fine:
But then the log level is set for the logging lib and not only for the phue logger:
From my understanding it should be the following, otherwise ALL loggers outside phue will be set:
TLDR: Libraries consuming
phue
and using an unscoped logger will (properly) be set byphue
. In my case I had to give MY logger MY scope as the log level of thephue
logger had been set.