apache log files rotation
Odhiambo Washington
wash at wananchi.com
Wed Mar 3 06:31:38 PST 2004
* fbsd_user <fbsd_user at a1poweruser.com> [20040303 17:14]: wrote:
> Can apache logs be rotated by /etc/newsyslog.conf?
> If not, how is it normally done?
You may need to send apache SIGUSR1 (signal 30) to tell it to reopen its
logfiles. I do this with squid but haven't tried with apache..
There is no harm in trying, you know? It wouldn't blow your box ;)
/path/to/logfile www:www 644 7 * @T00 J /path/to/apache/pid 30
-Wash
http://www.netmeister.org/news/learn2quote.html
--
+======================================================================+
|\ _,,,---,,_ | Odhiambo Washington <wash at wananchi.com>
Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com
|,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922
'---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121
+======================================================================+
One of the lessons of history is that nothing is often a good thing to
do and always a clever thing to say.
-- Will Durant
More information about the freebsd-questions
mailing list