Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2000 20:20:12 -0400
From:      Ben Williams <williamsl@home.com>
To:        Dan Nelson <dnelson@emsphone.com>
Cc:        Meagan Jia Pi <meagan@e-lingo.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re[2]: newsyslog question
Message-ID:  <128163644929.20000728202012@home.com>
In-Reply-To: <20000728173309.A24051@dan.emsphone.com>
References:  <06f101bff8e2$75863410$e293c83f@meagan> <20000728173309.A24051@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Does this HUP the apache daemon? From
http://www.freebsddiary.org/rotatelogs.html#nocompress :
(lines wrapped for email)

A reason not to compress those logs
 David Kelly writes in with some interesting points which made me
 realize that my example above was incorrect. I originally specified
 the Z flag for the apache logs. This is bad. That will compress the
 logs. This is Not A Good Thing (TM) especially when you may wish to
 use those logs for analog or webalizer. Thanks David.

--Ben Williams
mailto:received@email dot com

Quoting Dan Nelson                                Friday, July 28, 2000
> 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




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?128163644929.20000728202012>