Gunicorn slaughtered from several workers

I have a flash application that runs in several bunker synchronization processes on the server and uses the TimedRotatingFileHandler to enter the file from the flash application for each worker. In retrospect, this seems unsafe. Is there a standard way to accomplish this in python (for large volumes) without writing your own socket-based registration server or the like? How do other people achieve this? We use syslog to aggregate between the servers on the registration server, but I would like to save the log in the node application first.

Thanks for your ideas.

+4
source share
2 answers
+3
source

We ended up changing our application to send logs to stdout and now rely on supervisord to aggregate logs and write them to a file. We also looked at sending logs directly to rsyslog, but so far this works well for us.

+1
source

All Articles