News for hackers. Stuff that matters.
Re:Logging in Python like a pro by kortex on Friday July 01, 2022 @10:30PM (#31955531)
You should try the loguru library. I was able to roll a rolling-upload-to-s3 adapter in under an hour. Switching to json logs is one bool flag away. Plus it's gorgeous

https://github.com/Delgan/loguru

Also iirc s3's "file-like interface" does not actually obey the file protocol, which is obnoxious.

There are no comments on this comment yet.