Replies: 1 comment 1 reply
-
The capture of logs happens at the record level, formatters are not applied |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using the standard logging.
a configuration file like this.
I used it by parsing the yaml file and calling the
logging.config.dictConfig()
.I log info in my testcase
The console outputs the formatted log and prints it twice as expected.But pytest captures the log output only once, and it's not formatted.How do I fix it.
I may need to use different filters,formatters,handlers for different modules
Beta Was this translation helpful? Give feedback.
All reactions