6 ms·
You can disable Celery's automatic logging configuration by connecting a listener to the setup_logging signal. https://celery.readthedocs.org/en/latest/usergui
by natedub 12y ago
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.html#setup-logging https://celery.readthedocs.org/en/latest/userguide/signals.h...
Of course, logging_tree is a great tool as well!
- TomaszZielinski 12y agoTake a look at https://github.com/celery/celery/blob/v3.0.23/celery/utils/log.py#L250 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).