Commit bb2a3b3f authored by Dion Häfner's avatar Dion Häfner

explicitly set log levels

parent 63861e82
...@@ -17,14 +17,14 @@ def setup_logging(loglevel='info', stream_sink=sys.stdout): ...@@ -17,14 +17,14 @@ def setup_logging(loglevel='info', stream_sink=sys.stdout):
colorize=False colorize=False
) )
logger.level('TRACE', color='<dim>') logger.level('TRACE', color='<dim>', no=0)
logger.level('DEBUG', color='<dim><cyan>') logger.level('DEBUG', color='<dim><cyan>', no=10)
logger.level('INFO', color='') logger.level('INFO', color='', no=20)
logger.level('WARNING', color='<yellow>') logger.level('SUCCESS', color='<dim><green>', no=30)
logger.level('ERROR', color='<bold><red>') logger.level('WARNING', color='<yellow>', no=30)
logger.level('DIAGNOSTIC', color='<bold><yellow>', no=10) logger.level('ERROR', color='<bold><red>', no=40)
logger.level('CRITICAL', color='<bold><red><WHITE>') logger.level('DIAGNOSTIC', color='<bold><yellow>', no=50)
logger.level('SUCCESS', color='<dim><green>') logger.level('CRITICAL', color='<bold><red><WHITE>', no=60)
config = { config = {
'handlers': [ 'handlers': [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment