Skip to content

Instantly share code, notes, and snippets.

@y-li
Created July 17, 2012 15:13
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 y-li/3129997 to your computer and use it in GitHub Desktop.
Save y-li/3129997 to your computer and use it in GitHub Desktop.
[loggers]
keys=root
[handlers]
keys=consoleHandler
[formatters]
keys=fluctFormatter
[logger_root]
level=DEBUG
handlers=consoleHandler
[handler_consoleHandler]
class=StreamHandler
level=DEBUG
formatter=fluctFormatter
args=(sys.stderr,)
[formatter_fluctFormatter]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
datefmt=%Y-%m-%d %H:%M:%S
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment