-
Log rotation for uwsgi and python related applications
Don’t send SIGHUP or restart your servers if you want to do log rotation. SIGHUP is NOT used for log rotation, but used for configuration/module reload. Take uwsgi as example, as Managing the uWSGI server described, SIGHUP will gracefully reload all the workers and the master process. Thus, the newly coming connection cannot be accepted…