I\'ve read a few posts on this but I\'m still confused. I have this logging setup:
import logging class MongoHandler(logging.Handler): def __init__(sel
An addition to GrantVS's answer:
I had to use
logging.basicConfig(level=logging.DEBUG)
in order for it to work. Otherwise great answer, thanks!
Mario
PS: For some reason the system doesn't let me comment GrantVS's answer directly.