I\'m trying to decipher the information contained in my logs (the logging setup is using the default formatter). The documentation states:
Do formatting f
The default seems to be %(levelname)s:%(name)s:%(message)s
%(levelname)s:%(name)s:%(message)s
import logging logging.error("Some error") print "fmt: " , logging.root.handlers[0].formatter._fmt # ERROR:root:Some error # fmt: %(levelname)s:%(name)s:%(message)s