Created
December 4, 2014 23:22
-
-
Save simonw/4ee58aa27b086e3ad96c to your computer and use it in GitHub Desktop.
How to make Python logging output everything to the console
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
import logging, sys | |
logging.basicConfig(stream=sys.stdout, level=logging.DEBUG) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment