Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2000 17:33:09 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Meagan Jia Pi <meagan@e-lingo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: newsyslog question
Message-ID:  <20000728173309.A24051@dan.emsphone.com>
In-Reply-To: <06f101bff8e2$75863410$e293c83f@meagan>; from "Meagan Jia Pi" on Fri Jul 28 15:23:30 GMT 2000
References:  <06f101bff8e2$75863410$e293c83f@meagan>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jul 28), Meagan Jia Pi said:
> Hi all,
> 
> How do I make newsyslog to rotate apache logs every month?
> The man page is confusing to me. 
> Thanks in advance.

Copy the wtmp line:

/path/to/my/apachelog		644  7	   *	@01T00 Z

will rotate on the 1st of each month at midnight

-- 
	Dan Nelson
	dnelson@emsphone.com


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?20000728173309.A24051>