Created
August 6, 2022 15:06
-
-
Save HanSooloo/c406c4a90fc9637956662d8a02188d0f to your computer and use it in GitHub Desktop.
This file contains 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
import logging | |
import sys | |
log = logging.getLogger() | |
log.setLevel(level=logging.DEBUG) | |
logFormatter = logging.Formatter('%(asctime)s: %(name)s:%(module)s - %(funcName)s: %(message)s') | |
consoleHandler = logging.StreamHandler(sys.stdout) | |
consoleHandler.setFormatter(logFormatter) | |
log.addHandler(consoleHandler) | |
logging.getLogger('apscheduler').setLevel(logging.DEBUG) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment