This is whole configuration, Please kindly check it. Thanks! [uwsgi]
# core settings chdir = /home/uwsgi/ws/ pythonpath = /usr/bin/ wsgi-file = /home/uwsgi/ws/app.py callable = wsapp # socket conf socket = /tmp/uwsgi.socket chmod-socket = 664 uid = jerry gid = jerry # log conf logdate = True logto = /home/uwsgi/ws/logs/uwsgi.log log-backupname = /home/uwsgi/ws//logs/uwsgi.log.old log-maxsize = 10485760 logfile-chmod = 664 daemonize = /home/uwsgi/ws/logs/uwsgi_daemon.log processes = 4 threads = 4 pidfile = /home/uwsgi/ws/logs/uwsgi_master.pid vacuum = True stats = 127.0.0.1:3131 On Thu, May 7, 2015 at 1:12 PM, Roberto De Ioris <[email protected]> wrote: > >> Hi All: >> I have configed uwsgi to do some log rotate to avoid log too bigger (I >> configure with 10M), but I found errors when log do rotate. >> >> 166604 Wed May 6 08:35:11 2015 - logsize: 10495766, triggering >> rotation to /home/ws/uwsgi/logs/ uwsgi.log.old... >> 166605 Wed May 6 08:35:11 2015 - unable to rotate log: rename(): No >> such file or directory [core/logging.c line 55 2] >> >> In logs folder, there are uwsgi.log.old and uwsgi.log two files. and >> both files are exceed to 10M, So what is this error means? >> >> Best Regards >> Jerry >> >> > > can you paste your whole configuration ? (the output of --show-config > would be perfect) > > > -- > Roberto De Ioris > http://unbit.com > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi -- Rejoice,I Desire! _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
