Closed relsqui closed 10 years ago
It would be nice to be able to change the log level without restarting the skeleton bot; that's about the only reason I ever do.
You can do that from your code via logging.getLogger().setLevel(logging.DEBUG) or similar. Calling logging.getLogger() with no arguments returns the root logger, which is where the level needs to be changed.
logging.getLogger().setLevel(logging.DEBUG)
logging.getLogger()
It would be nice to be able to change the log level without restarting the skeleton bot; that's about the only reason I ever do.