2👍
✅
Your logging is configured to log only critical messages. You might want to use logging.critical
instead of logging.debug
as a short term approach, or lower the level of messages to be logged, using level=logging.DEBUG
in the configuration.
Also, logging.*
methods use root-level logger. You might want to add granularity by providing more loggers in the configuration and using something like
logger = logging.getLogger(logger_name) #logger name is often just __name__
logger.debug(whatever)
Refer to logging documentation for details.
👤J0HN
Source:stackexchange.com