Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] logrotate not working
Date: Tue, 25 Sep 2007 11:50:51
Message-Id: 20070925123657.3718836e@zaphod.digimed.co.uk
In Reply to: [gentoo-user] logrotate not working by Arnau Bria
1 On Tue, 25 Sep 2007 12:06:09 +0200, Arnau Bria wrote:
2
3 > I have this in my logroate.d/apache
4 > # Apache2 logrotate snipet for Gentoo Linux
5 > # Contributes by Chuck Short
6 > #
7 > /var/log/apache2/*log {
8 > daily
9 > missingok
10 > notifempty
11 > size 5M
12 > sharedscripts
13 > postrotate
14 > /etc/init.d/apache2 reload > /dev/null 2>&1 || true
15 > endscript
16 > }
17 >
18 > And my logs are:
19 >
20 > # ls -lsah blog_log_access_common
21 > 20M -rw-r--r-- 1 root root 20M sep 25 12:04 blog_log_access_common
22
23 blog_log_access_common does not match the *log pattern in the config file.
24
25
26 --
27 Neil Bothwick
28
29 ... ebius tagline. This is a moebius tagline. This is a mo ...

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] logrotate not working Arnau Bria <arnau@×××××××××.net>