Skip to content

Instantly share code, notes, and snippets.

@aonotas
Created August 23, 2017 12:52
Show Gist options
  • Save aonotas/0e15a4c54addeaa778ccd17fb8c87e1f to your computer and use it in GitHub Desktop.
Save aonotas/0e15a4c54addeaa778ccd17fb8c87e1f to your computer and use it in GitHub Desktop.
import logging
logger = logging.getLogger(__name__)
logging.basicConfig(
format='%(asctime)s : %(threadName)s : %(levelname)s : %(message)s',
level=logging.INFO)
logging.info('aaaaa')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment