Created
July 13, 2023 12:03
-
-
Save absent1706/f9c58abe0c1939a993f894f4f6f3c704 to your computer and use it in GitHub Desktop.
logging.basicConfig
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
import logging | |
logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)s %(name)s %(threadName)s %(message)s') | |
logging.getLogger('sqlalchemy.engine').setLevel(logging.INFO) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment