Created
June 8, 2016 10:56
-
-
Save svanellewee/8e382c58f1898793a4d925e8e3d362de to your computer and use it in GitHub Desktop.
Python logger not found!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log = logging.getLogger('apscheduler.executors.default') # this logger complained. | |
log.setLevel(logging.INFO) # DEBUG | |
fmt = logging.Formatter('%(levelname)s:%(name)s:%(message)s') | |
h = logging.StreamHandler() | |
h.setFormatter(fmt) | |
log.addHandler(h) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment