logo

Need Custom Apps?

Whether you need custom software development, Consulting or your project needs rescuing we are here to help. Get in touch
info@siege.ai
+27 11 794 3787

Disabling boto debug logging in Django

Disabling boto debug logging in Django

Ever been annoyed by the multitude of AWS S3 logs you see inside a celery task on file operations? If the answer is yes then the solution is simple

add the following lines before your LOGGING settings in your Django settings file

 

import logging
logging.getLogger('boto').propagate = False

siege
No Comments

Sorry, the comment form is closed at this time.