use a debug=None and we can instead pass this parameters according to the level of detail desired
Level
When it’s used
DEBUG
Detailed information, typically of interest only when diagnosing problems.
INFO
Confirmation that things are working as expected.
WARNING
An indication that something unexpected happened, or indicative of some problem in the near future (e.g. ‘disk space low’). The software is still working as expected.
ERROR
Due to a more serious problem, the software has not been able to perform some function.
CRITICAL
A serious error, indicating that the program itself may be unable to continue running.
Take a look at this package in order to achieve this. Maybe we can, instead of what we have now, which is defining a
debug = True/False
https://github.com/mattborghi/load-balancer-zmq/blob/4264312d2d15eda9155d776983f0da4ed42e57f8/LoadBalancer/controller.py#L53
use a
debug=None
and we can instead pass this parameters according to the level of detail desired