I lost a sentence somewhere. On one platform I use, the default for SIGTERM writes a message to stderr.
On Fri, Feb 12, 2016 at 4:37 PM, Yann Ylavic <ylavic....@gmail.com> wrote: > On Fri, Feb 12, 2016 at 8:25 PM, Eric Covener <cove...@gmail.com> wrote: >> Recall that 2.2 ran piped loggers under a shell until somewhat late in >> life, and 2.4 runs them directly [by default]. >> >> rotatelogs currently doesn't do anything to block sigterm. The >> default ahndler for sigterm writes a short message to stderr, which is >> the only reason I noticed. > > Maybe you could wrap rotatelogs in a script like: > > #!/bin/sh > trap '' TERM > /path/to/real/rotatelogs $@ > > and then use: > ErrorLog |$/path/to/my/rotatelogs.sh ... > > in httpd.conf? -- Eric Covener cove...@gmail.com