Skip to content

Instantly share code, notes, and snippets.

@simonw
Created December 4, 2014 23:22
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 simonw/4ee58aa27b086e3ad96c to your computer and use it in GitHub Desktop.
Save simonw/4ee58aa27b086e3ad96c to your computer and use it in GitHub Desktop.
How to make Python logging output everything to the console
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