Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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!



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).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: