public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "W.Kenworthy" <billk@iinet.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] /var/log/messages size
Date: Thu, 27 Oct 2005 13:37:07 +0800	[thread overview]
Message-ID: <1130391427.10785.72.camel@localhost> (raw)
In-Reply-To: <1130306289.10171.3.camel@spok.local.sporn-it.com>

syslog-ng does.  


bunyip ~ # ls /etc/logrotate.d
apache2  hibernate-script  mysql  scrollkeeper  syslog-ng

bunyip ~ # qpkg -f /etc/logrotate.d/syslog-ng
app-admin/syslog-ng *
bunyip ~ #

so you just need to check the file is present, install logrotate and sit
back and watch it happen.

BillK


On Wed, 2005-10-26 at 07:58 +0200, Heinz Sporn wrote:
> Am Dienstag, den 25.10.2005, 17:12 -0300 schrieb Allan Spagnol Comar:
> > Hi All, I was looking for explanations about syslog-ng and got stucked....
> > I was wondering why my /var/log/messages has 2.1 GB size and if I can
> > reduce this size or config it better; I am using default syslog-ng
> > config that was emerged by gentoo instalation.
> 
> I'm using sysklogd myself and with that comes a syslog.cron script
> in /etc/cron.daily that rotates it's logfiles. Shouldn't there be a
> similar thing in syslog-ng? If not you could always use logrotate.
> 
> > 
> > Thanks, Allan
> > 
> -- 
> Mit freundlichen Grüßen
> 
> Heinz Sporn
> 
> SPORN it-freelancing
> 
> Mobile:  ++43 (0)699 / 127 827 07
> Email:   heinz.sporn@sporn-it.com
>          heinz.sporn@utanet.at
> Website: http://www.sporn-it.com
> Snail:   Steyrer Str. 20
>          A-4540 Bad Hall
>          Austria / Europe
> 
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2005-10-27  5:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-25 20:12 [gentoo-user] /var/log/messages size Allan Spagnol Comar
2005-10-25 20:42 ` John Jolet
2005-10-26  0:00 ` Neil Bothwick
2005-10-26  0:30 ` Richard Fish
2005-10-26  0:34 ` Mark Shields
2005-10-26  3:16 ` Rumen Yotov
2005-10-26  5:58 ` Heinz Sporn
2005-10-27  5:37   ` W.Kenworthy [this message]
2005-10-27 11:06     ` Allan Spagnol Comar
2005-10-26  6:08 ` z3rosix
2005-10-26  6:15 ` Tomas Jankovic

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=1130391427.10785.72.camel@localhost \
    --to=billk@iinet.net.au \
    --cc=gentoo-user@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