HENNGE / aiodynamo

Asynchronous, fast, pythonic DynamoDB Client
https://aiodynamo.readthedocs.io/
Other
69 stars 20 forks source link

Separate request and response logging into other named loggers. #180

Open aclemons opened 4 months ago

aclemons commented 4 months ago

I'd like to make the logging for aiodynamo louder at times for debugging or to generally see in application logs when a throttle or a timeout or something happened. For that, I need to set the log level to debug, but this also enables request and response payload logging which becomes very noisy and also smears potentially unwanted data into my log streams.

I made two other loggers so the levels for those two things can be set at a different level to all the other logging done by aiodynamo.

aclemons commented 4 months ago

Thoughts on this?

dimaqq commented 1 month ago

👉🏻 @ojii