> Hi.
>
> I set up my uwsgi to log to /var/log/uwsgi_ml.log and I see the
> messages on the file no problem but I decided to enable newsyslog to
> rotate the log file when >100K so I added this to the newsyslog.conf :
>
> /var/log/uwsgi_ml.log                   600  7     100  *     JC
> /var/run/uwsgi_ml.pid
>
> And is rotating the file but looks like uwsgi needs another signal to
> start writing to the file again.
>
> is SIGHUP the correct signal for this case ?
>
> Thanks.
>
> -

Hi, there is still no way to ONLY reopen log files (without respawning the
whole stack).

So, the only solution (currently) is sending SIGHUP to the master process.

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to