Hi, I am running a Flask app using mod_wsgi and I've been logging to a file. The issue is now I need to run it using multiple processes but multiple processes logging to a file without coordination is not a good idea.
Has anyone heard of a success case where they log to stderr with multiple processes? That's the approach that I am hoping to take as other approaches seem too overkill as of right now because they require to spin up some service independent of the Flask app to handle the logs. And another question, does mod_wsgi do something special with opened files with multiple processes? As I have tested logging with multiple processes to the same file and have not found any issues. Thanks! -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/71b85a03-2818-4492-bbe2-b61344746948n%40googlegroups.com.
