Created
September 4, 2019 11:27
-
-
Save Menziess/2564eef94b5285e61ba5c6294f428bc1 to your computer and use it in GitHub Desktop.
Setting basic config for logging.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Specify format for logging | |
format = '%(asctime)s - %(message)s' | |
# Set logging config | |
logging.basicConfig(stream=sys.stdout, | |
level=logging.INFO, | |
format=format) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment