How to do logging with multiple django WSGI processes + celery on the same webserver
问题 I've got a mod_wsgi server setup with 5 processes and a celery worker queue (2 of them) all on the same VM. I'm running into problems where the loggers are stepping on each other and while it appears there are some solutions if you are using python multiprocessing, I don't see how that applies to mod_wsgi processes combined also with celery processes. What is everyone else doing with this problem? The celery tasks are using code that logs in the same files as the webserver code. Do I somehow