spulec / PyQS

Python task-queues for Amazon SQS
MIT License
174 stars 36 forks source link

Don't log message retrieve success when there are 0 messages #49

Closed hobbsh closed 6 years ago

hobbsh commented 6 years ago

Hi,

First of all, thanks for the work put into pyqs! So far it seems to be a nice and simple queue processor (coming from celery...).

This is a PR to not log the 'Successfully got messages' statement if there are 0 messages. If this is unwise/unwanted, maybe we can change the loglevel to debug (logger.debug) instead? Let me know what you think. Thank you

spulec commented 6 years ago

I think changing to logger.debug is a good compromise. Thanks!

hobbsh commented 6 years ago

@spulec great, updated!

spulec commented 6 years ago

Thanks!