Logging.BitBotFormatter no longer uses the format it's given (always iso8601)
This commit is contained in:
parent
58a4fd7e74
commit
2c812ccaaa
1 changed files with 1 additions and 3 deletions
|
@ -26,9 +26,7 @@ class Log(object):
|
|||
|
||||
self.logger.setLevel(LEVELS["trace"])
|
||||
|
||||
formatter = BitBotFormatter(
|
||||
"%(asctime)s [%(levelname)s] %(message)s",
|
||||
"%Y-%m-%dT%H:%M:%S.%fZ")
|
||||
formatter = BitBotFormatter("%(asctime)s [%(levelname)s] %(message)s")
|
||||
|
||||
stdout_handler = logging.StreamHandler(sys.stdout)
|
||||
stdout_handler.setLevel(stdout_level)
|
||||
|
|
Loading…
Reference in a new issue