Hi,

I tried using cronolog and chroot httpd. I confirmed start(apachectl
startssl) and rotation log files.
But when executed [apachectl stop|restart] command, didn't stop rotatelogs
and parent httpd process.

Can't use rotatelogs without -u option ?
Others ideas ? What is rotation logs best way without stopping httpd ?


OpenBSD 4.1-stable
(httpd.conf)
ServerRoot "/var/www"
CustomLog "|/usr/local/sbin/cronolog /var/www/logs/access_log.%Y%m%d" common

(ps -ax : after apachectl stop)
31777 ??  Is      0:00.12 httpd: parent [chroot /var/www] (httpd)
3472 ??  I       0:00.11 /usr/local/sbin/cronolog
/var/www/logs/access_log.%Y%m%d

Reply via email to