Re: Controlling kernel log size

From: Monique Y. Mudama (spam_at_bounceswoosh.org)
Date: 07/30/04

  • Next message: Joey Hess: "Re: debian-installer: partman, limited; base-install failed, grave error?"
    To: debian-user@lists.debian.org
    Date: Fri, 30 Jul 2004 12:55:23 -0600
    
    

    On 2004-07-30, Bruno Diniz penned:
    > 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.

    Do those logs have their own configuration stanzas in your
    logrotate.conf?

    Also, even if it's only keeping two instead of four log files around, it
    won't delete the two extra that it's no longer maintaining, I don't
    think ...

    -- 
    monique
    Ask smart questions, get good answers:
    http://www.catb.org/~esr/faqs/smart-questions.html
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Joey Hess: "Re: debian-installer: partman, limited; base-install failed, grave error?"

    Relevant Pages

    • Re: faq: when login lots of message come out
      ... You can get that information by inspecting the logs as well. ... least it saves manually copying the information with all the potential ... Apparently sm-mta has trouble opening a listening socket to port 25. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: CUPS 1.2: doesnt actually print
      ... so I thought I'd use the logs to figure out the problem. ... various packages, etc.) the queued job starts up, but is screwed up. ... ought to be the highest honor and the highest responsibility anyone ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • time messed up since last kernel update
      ... The new logs are dated 2005. ... ntp setting the clock, the computer thought that it was Dec 31. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Detailed logging of ssh sessions
      ... the system logs. ... I use it to monitor shell server users, ... >> number of administrators via ssh (i.e. mail and web servers, ... >> To unsubscribe, send any mail to ...
      (freebsd-questions)
    • Re: Find out host of IP
      ... so far no harm done. ... Since my logs have this IP number, how do I find out who it is? ... leaders in society, not just for our own sake, but for the sake of ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)