From: Ow Mun Heng <Ow.Mun.Heng@wdc.com>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] Apache2 logs
Date: Tue, 09 Aug 2005 15:03:16 +0800 [thread overview]
Message-ID: <1123570996.32084.34.camel@neuromancer.home.net> (raw)
In-Reply-To: <42F7CE47.5090602@bellsouth.net>
On Mon, 2005-08-08 at 17:27 -0400, david wrote:
> Sean Wells wrote:
>
> >I have the following options turned on in mine:
> >
> >create
> >compress
> >notifempty
> >nomail
> >noolddir
> >/var/log/apache2/*_log {
> >daily
> >rotate 7
> >sharedscripts
> >postrotate
> >/etc/init.d/apache2 reload >/dev/null # this makes sure apache doesn't
> >continue writing to the old logs
> >endscript
> >}
Mine
/var/log/apache2/*log {
missingok
notifempty
sharedscripts
postrotate
/bin/kill -USR1 `cat /var/run/httpd.pid 2>/dev/null`
2> /dev/null || true
endscript
}
--
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!!
Neuromancer 15:03:01 up 3 days, 1:38, 9 users, load average: 1.43, 0.97,
0.59
--
gentoo-server@gentoo.org mailing list
next prev parent reply other threads:[~2005-08-09 7:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-08 20:01 [gentoo-server] david
2005-08-08 20:18 ` [gentoo-server] Sean Wells
2005-08-08 20:34 ` [gentoo-server] Apache2 logs david
2005-08-08 20:48 ` david
2005-08-08 20:59 ` Sean Wells
2005-08-08 21:27 ` david
2005-08-09 7:03 ` Ow Mun Heng [this message]
2005-08-08 20:58 ` peter.gantner
2005-08-20 5:43 ` A. Khattri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1123570996.32084.34.camel@neuromancer.home.net \
--to=ow.mun.heng@wdc.com \
--cc=gentoo-server@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox