How do I use dictConfig? How should I specify its input config dictionary?
How do I use dictConfig ? How should I specify its input config dictionary?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
How about here! The corresponding documentation reference is
configuration-dictionary-schema.Usage:
In case you see too many logs from third-party packages, be sure to run this config using
logging.config.dictConfig(LOGGING_CONFIG)before the third-party packages are imported.To add additional custom info to each log message using a logging filter, consider this answer.