Gentoo Archives: gentoo-user

From: Allan Spagnol Comar <allan.comar@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /var/log/messages size
Date: Thu, 27 Oct 2005 11:13:15
Message-Id: 1cc2dc830510270406n7bf3e1edkc27efc6d6eb71b9@mail.gmail.com
In Reply to: Re: [gentoo-user] /var/log/messages size by "W.Kenworthy"
1 Thank you all , sorry to take so long to answer and the logrotate
2 really had worked for me.
3 Thanks again.
4
5 On 10/27/05, W.Kenworthy <billk@×××××××××.au> wrote:
6 > syslog-ng does.
7 >
8 >
9 > bunyip ~ # ls /etc/logrotate.d
10 > apache2 hibernate-script mysql scrollkeeper syslog-ng
11 >
12 > bunyip ~ # qpkg -f /etc/logrotate.d/syslog-ng
13 > app-admin/syslog-ng *
14 > bunyip ~ #
15 >
16 > so you just need to check the file is present, install logrotate and sit
17 > back and watch it happen.
18 >
19 > BillK
20 >
21 >
22 > On Wed, 2005-10-26 at 07:58 +0200, Heinz Sporn wrote:
23 > > Am Dienstag, den 25.10.2005, 17:12 -0300 schrieb Allan Spagnol Comar:
24 > > > Hi All, I was looking for explanations about syslog-ng and got stucked....
25 > > > I was wondering why my /var/log/messages has 2.1 GB size and if I can
26 > > > reduce this size or config it better; I am using default syslog-ng
27 > > > config that was emerged by gentoo instalation.
28 > >
29 > > I'm using sysklogd myself and with that comes a syslog.cron script
30 > > in /etc/cron.daily that rotates it's logfiles. Shouldn't there be a
31 > > similar thing in syslog-ng? If not you could always use logrotate.
32 > >
33 > > >
34 > > > Thanks, Allan
35 > > >
36 > > --
37 > > Mit freundlichen Grüßen
38 > >
39 > > Heinz Sporn
40 > >
41 > > SPORN it-freelancing
42 > >
43 > > Mobile: ++43 (0)699 / 127 827 07
44 > > Email: heinz.sporn@××××××××.com
45 > > heinz.sporn@××××××.at
46 > > Website: http://www.sporn-it.com
47 > > Snail: Steyrer Str. 20
48 > > A-4540 Bad Hall
49 > > Austria / Europe
50 > >
51 > --
52 > gentoo-user@g.o mailing list
53 >
54 >
55
56 --
57 gentoo-user@g.o mailing list