<div dir="ltr"><div><div>Hello.<br><br></div>One question comes to my mind: Why doesn't nginx write something to the error log file when it restarts? (for example, with kill -HUP), just as Apache does.<br><br></div>For example, in Apache, after kill -HUP $apache_pid, I can see in the error log file:<br>
<div><div><div><br>[Tue Jan 22 11:42:50 2013] [notice] SIGHUP received. Attempting to restart<br>[Tue Jan 22 11:42:51 2013] [notice] Digest: generating secret for digest authentication ...<br>[Tue Jan 22 11:42:51 2013] [notice] Digest: done<br>
[Tue Jan 22 11:42:52 2013] [notice] Apache/2.2.14 (Unix) PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operation<br><br></div><div>This way I can easily check if everything has gone OK in the restart, just using<br>
<br></div><div>kill -1 $(cat httpd.pid); tail -f error_log<br><br></div><div>Can this be added by default to nginx? Or there is any other simple form to check that a restart has gone well?<br><br></div><div>Greetings, <br>
<br></div><div>Oscar<br clear="all"></div><div><br>-- <br>Oscar Fernandez Sierra<br><a href="mailto:oscaretu@gmail.com">oscaretu@gmail.com</a>
</div></div></div></div>