[uWSGI] daemonize and log file

Marco De Paoli depaolim at gmail.com
Fri Oct 11 22:14:13 CEST 2013


Il 11/ott/2013 21:58 "Roberto De Ioris" <roberto at unbit.it> ha scritto:
>
>
> yes, because technically the argument of the daemonize option is what you
> want to do with the file descriptors 1 and 2 (stdout and stderr)
>
> You could set it as /dev/null, but honestly i always suggest to have it
> pointing to a real file so if there is something wrong before the syslog
> system is setup you will have a fallback to that file.

Ok!

>
> well, i tend to not enforce any path convention (it is the role of
> packagers), but /var/run i so generic (in modern times) that i would not
> find it wrong to store the 'emergency' log in it.

fully explicative

Thank you!
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.unbit.it/pipermail/uwsgi/attachments/20131011/ed8794cb/attachment.html>


More information about the uWSGI mailing list