From 1b8ad61779d6e3aef15a441eaa32bc8efdbdeeb3 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 16 Aug 2014 23:00:35 +0900 Subject: [PATCH] doc: Add note how to re-open log files in nghttpx --- doc/sources/nghttpx-howto.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/sources/nghttpx-howto.rst b/doc/sources/nghttpx-howto.rst index 0a742943..ba829779 100644 --- a/doc/sources/nghttpx-howto.rst +++ b/doc/sources/nghttpx-howto.rst @@ -275,3 +275,12 @@ current process, send QUIT signal to current nghttpx process. When all existing frontend connections are done, the current process will exit. At this point, only new nghttpx process exists and serves incoming requests. + +Re-opening log files +-------------------- + +When rotating log files, it is desirable to re-open log files after +log rotation daemon renamed existing log files. To tell nghttpx to +re-open log files, send USR1 signal to nghttpx process. It will +re-open files specified by ``--accesslog-file`` and +``--errorlog-file`` options.