> Hi,
>
> are there any ways to write uwsgi log in different files without stoping
> uwsgi, for example, a log file daily just like nginx?
>
> what I'm doing  currently is to remove uwsgi upstream from nginx, stop
> uwsgi, mv logfile, start uwsgi, and connect the upstream to nginx.  The
> log
> file grows really fast.
>
>

Use --log-maxsize <n>

where n is the maximum number of bytes before the logfile is rotated.

The whole process does not stop (or reload) uWSGI, it all happens in
background.

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

Reply via email to