Controlling kernel log size

From: Bruno Diniz (bruno.diniz_at_gmail.com)
Date: 07/30/04

  • Next message: The Living Room: "(no subject)"
    Date: Fri, 30 Jul 2004 09:25:18 -0300
    To: debian-user@lists.debian.org
    
    

    Hi all,

    looking into my /var/log, I noticed that kern.log and syslog were
    taking a lot of space. After inspecting this files, I figured out that
    they were keeping 4 weeks of entries. I don't need that much, so how
    can I reduce the number of weeks kept in this logs? I tried to change
    the /etc/logrotate.conf file (rotate 4 -> rotate 2) with no success.

    Thanks,
    Bruno.

    -- 
    Bruno Diniz de Paula
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: The Living Room: "(no subject)"

    Relevant Pages

    • Re: mounting USB pen under 2.6
      ... michael wrote: ... I see from SYSLOG that when I plug the USB pen into the slot: ... It seems that USB keys have a partition table and the relevant partition is normally 1. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: syslog recommendations?
      ... me, say, aggregate logs from lots of different boxes and maybe even do ... standard udp syslog daemon for reliability. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
      (Debian-User)
    • Re: understand the logs
      ... I would think that you would want packets that don't match traffic ... your firewall rules to allow those packets and not ... other traffic from the local network but log it to syslog". ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: understand the logs
      ... At one time I installed ulog to keep those messages in one place but now they clutter up syslog and kernel.log ... your firewall rules to allow those packets and not ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: Upgrade xorg in Sid breaks link
      ... I'm hesitant to upgrade again just to see the messages that appear in the ... syslog and/or bootlog. ... ought to be the highest honor and the highest responsibility anyone ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)