Skip to content

Instantly share code, notes, and snippets.

@peacing
Created August 3, 2020 02:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peacing/12d6c361c06433c61a11d0c0b1effbe9 to your computer and use it in GitHub Desktop.
Save peacing/12d6c361c06433c61a11d0c0b1effbe9 to your computer and use it in GitHub Desktop.
import logging
logger_handler.setFormatter(logging.Formatter(
'[%(levelname)s]\t%(asctime)s.%(msecs)dZ\t%(aws_request_id)s\t%(message)s\n',
'%Y-%m-%dT%H:%M:%S'
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment