Show logging timestamp as UTC/GMT

This commit is contained in:
jesopo 2018-09-21 10:35:05 +01:00
parent 7108b05bc0
commit 02d361c8b6

View file

@ -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)