> Hi. > > I accidentally deleted the log file of my emperor, config: > > daemonize = /path/to/emperor.log > > Now, I reloaded the emperor using the uwsgi --reload file.pid, but the log > file is not created again. > > I created it manually and gave all the needed privileges, but still the > same. > > Also tried to add another option for log: > > logto = /path/to/emperor_2.log > > After reload is the story, how can I solve this issue? > > > Thx. > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >
stdout and stderr are always inherited. To re-create the logfile you need to fully stop and restart the emperor (or the vassal). But, if you enable the master fifo you will get a command to "reopen" logfiles: http://uwsgi-docs.readthedocs.org/en/latest/MasterFIFO.html -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
