omrikiei / aws_logging_handlers

AWS integration for python logging handlers(S3, Kinesis)
https://omrikiei.github.io/aws_logging_handlers/
MIT License
71 stars 27 forks source link

Fix shared queues when more than one s3_handler is instantiated #24

Closed newbery closed 4 years ago

newbery commented 4 years ago

When more than one s3_handler is instantiated, the S3Stream instances end up sharing the same queues because the queues are defined at the class level instead of as instance attributes. This PR corrects that.