I've been coding Python for 10+ years and I still don't know how the hell to control logging or warnings. Ask me anything.
Conversation
Notices
-
Juan Luis (astrojuanlu@social.juanlu.space)'s status on Thursday, 09-Mar-2023 23:51:56 CET Juan Luis -
Pybonacci (pybonacci@mastodon.social)'s status on Thursday, 09-Mar-2023 23:51:55 CET Pybonacci @ashwinvis @astrojuanlu I've read good things about loguru but never used it
-
~ashwinvis (ashwinvis@mastodon.acc.sunet.se)'s status on Thursday, 09-Mar-2023 23:51:56 CET ~ashwinvis @astrojuanlu I understood the hard way that
1. logging.basicConfig and logging.disable looks simple, but messes up all the other loggers.
2. logging is so complicated (with use cases like multiprocessing) that they had to write a cookbook
-