[uWSGI] still fighting with uwsgi log file rotation (without having to restart workers and daemons)

Roberto De Ioris roberto at unbit.it
Tue Nov 7 14:33:53 UTC 2017

> Hi guys,
> I'm still stuck with this.
> Can anybody help out?
> I would like to rotate the uwsgi log file on demand without having to
> restart uwsgi or any of its attached daemons.
> My setup (removed some in my opinion irrelevant lines:
>>  w

If you do not want to reload uWSGI, i suggest you to use logrotate withe
the copytruncate option:


the logrotate command works even in containers

Roberto De Ioris

More information about the uWSGI mailing list