From: "Morten Winther" <none@mw--mwi.dk.lh.bsd-dk.dk> To: <none@bsd-novice--bsd-dk.dk.lh.bsd-dk.dk> Subject: newsyslog Date: Thu, 23 Jan 2003 09:49:13 +0100
Hej
Jeg har sat min apache log til at rotere hver midnat med følgende i
/etc/newsyslog.conf:
/usr/home/mwinther/megapixel.dk-access_log 644 14 * $D0
B /var/run/httpd.pid 30
Det virker fint. Jeg undre mig blot over at tiden er et par minutter før
midnat?
-rw-r--r-- 1 root mwinther 7435345 Jan 22 23:59
megapixel.dk-access_log.0
-rw-r--r-- 1 root mwinther 6211222 Jan 21 23:58
megapixel.dk-access_log.1
-- / morten mw@mwi.dk"There are only 10 types of people in the world: Those who understand binary, and those who don't"
This archive was generated by hypermail 2b30 : Wed 15 Nov 2006 - 18:25:07 CET