Show logging timestamp as UTC/GMT
This commit is contained in:
parent
7108b05bc0
commit
02d361c8b6
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,8 @@ class Log(object):
|
|||
|
||||
formatter = BitBotFormatter(
|
||||
"%(asctime)s [%(levelname)s] %(message)s",
|
||||
"%Y-%m-%dT%H:%M:%S.%f%z")
|
||||
"%Y-%m-%dT%H:%M:%S.%fZ")
|
||||
formatter.converter = time.gmtime
|
||||
|
||||
stdout_handler = logging.StreamHandler(sys.stdout)
|
||||
stdout_handler.setLevel(logging.INFO)
|
||||
|
|
Loading…
Reference in a new issue