Re:Celery – Best Practices
by TomaszZielinski on Wednesday June 18, 2014 @12:45PM
(#7911078)
This is not a Celery-specific tip, but as Celery also likes to "tweak" your logging configuration you can use https://pypi.python.org/pypi/logging_tree to see what's going on under the hood.
[ Parent
| on HN ]
You can disable Celery's automatic logging configuration by connecting a listener to the setup_logging signal.
https://celery.readthedocs.org/en/latest/userguide/signals.h...
Of course, logging_tree is a great tool as well!
Re:Celery – Best Practices
by TomaszZielinski on Wednesday June 18, 2014 @03:27PM
(#7912195)
Take a look at https://github.com/celery/celery/blob/v3.0.23/celery/utils/l... - it's an older version that I once checked but it seems to be patching loggers unconditionally (i.e. outside any signal handler).
Re:Celery – Best Practices
by denibertovic on Wednesday June 18, 2014 @12:59PM
(#7911162)
Awesome, tnx for the tip! :)