Gentoo Archives: gentoo-user

From: Teresa and Dale <teendale@×××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] "New elog functionality" Log rotation?
Date: Sat, 17 Jun 2006 23:17:02
Message-Id: 44948AFF.9060200@vista-express.com
In Reply to: [gentoo-user] "New elog functionality" Log rotation? by Richard Broersma Jr
1 Richard Broersma Jr wrote:
2
3 >I was wondering if anyone could point me to the conf file to turn on log rotation for my
4 >emerge.log.
5 >
6 >Regards,
7 >
8 >Richard Broersma Jr.
9 >
10 >
11
12 I use logrotate and it is here.
13
14 /etc/logrotate.d
15
16 Here is a sample of the file:
17
18 > /var/log/http-replicator.log {
19 > size 10k
20 > missingok
21 > copytruncate
22 > compress
23 > }
24
25
26 That is for http-replicator and the file is named the same. I guess the
27 name doesn't matter really.
28
29 I'm not sure but I think you need a cron job to run it to. Not real sure.
30
31 Hope that helps.
32
33 Dale
34 :-)
35 --
36 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] "New elog functionality" Log rotation? Mick <michaelkintzios@×××××.com>