Skip to content

Instantly share code, notes, and snippets.

@vgarvardt
Created June 13, 2012 13:07
Show Gist options
  • Save vgarvardt/2923952 to your computer and use it in GitHub Desktop.
Save vgarvardt/2923952 to your computer and use it in GitHub Desktop.
Tornado logging formatter
import logging
from tornado.options import enable_pretty_logging
enable_pretty_logging()
logger = logging.getLogger()
logger.setLevel(logging.DEBUG)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment