really amazing uwsgi ... so much love. On Fri, Apr 20, 2012 at 6:14 PM, Roberto De Ioris <[email protected]> wrote:
> > > 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 > -- *吴焱红(Samuel)* 博客: blog.shanbay.com 微博: 扇贝网 <http://www.weibo.com/shanbay> 人人网: 一起背单词公共主页 <http://page.renren.com/699128841?ref=lnkprofile>
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
