Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2002 14:30:49 -0500 (EST)
From:      Vivek Khera <khera@kcilink.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: newsyslog/rotatelog
Message-ID:  <200203041930.g24JUn317037@onceler.kciLink.com>
References:  <001301c1c30e$d4006a40$faa0b542@noc> <20020304162808.B74621@grimoire.chen.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "JC" == Jonathan Chen <jonc@chen.org.nz> writes:

JC> It is possible to use newsyslog for what you're doing, have something
JC> like:

JC>     /var/log/httpd-access.log     644   5   *  $W6D0  Z
JC>     /var/log/httpd-error.log      644   5   *  $W6D0  Z  /var/run/http.pid

JC> You only need the http.pid entry on the last line so that newsyslog
JC> will only send the HUP once to apache once the logs have been rotated.

Where is this documented in newsyslog?  I see no guarantee that the
order of the file is honored for programs that write multiple log
files like Apache does.

Also, does newsyslog compress after sending the signal or before?
That is not documented, either, in the man page.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203041930.g24JUn317037>