Adjust log format

This commit is contained in:
Richard Chien 2018-07-21 21:59:51 +08:00
parent 0172eae91e
commit 2caf90646b

View File

@ -11,6 +11,6 @@ import sys
logger = logging.getLogger('none')
default_handler = logging.StreamHandler(sys.stdout)
default_handler.setFormatter(logging.Formatter(
'[%(asctime)s] %(levelname)s: %(message)s'
'[%(asctime)s %(name)s] %(levelname)s: %(message)s'
))
logger.addHandler(default_handler)