Change log level to show in logs as "[LEVEL]" instead of " - LEVEL - "
This commit is contained in:
parent
0c7d088230
commit
af01bccaa5
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class Log(object):
|
|||
self.logger.setLevel(logging.DEBUG)
|
||||
|
||||
formatter = BitBotFormatter(
|
||||
"%(asctime)s - %(levelname)s - %(message)s",
|
||||
"%(asctime)s [%(levelname)s] %(message)s",
|
||||
"%Y-%m-%dT%H:%M:%S.%f%z")
|
||||
|
||||
stdout_handler = logging.StreamHandler(sys.stdout)
|
||||
|
|
Loading…
Reference in a new issue