Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Suggested configurations leads to exceptions for third party libs. #116
I tried the suggestion named:
The only thing I added was:
(This issue is not related to the third party lib used, I got the same thing with other third party libs, just needed one as a minimal repro case.)
This leads to a ton of exception that ends with:
My goal is to use structlog to get all my logs and those from imported third party libs to be formatted in JSON with a basic set of common keys. But I started with using the documentation as is first to understand how it works.
I was expecting boto3 logs to be formatted and it worked, somewhere in the console output (and the log file) there is:
What I don't understand are all the Exception thrown from inside the logging library that are in visible in the std err output. Should the suggested config work in this scenario?
Attached are the source code file used, the log file from the WatchedFileHandler and console output file where the exceptions are visible. It was generated with: