Results 1 to 5 of 5

Thread: [SOLVED] Increase number of logs to keep

  1. #1
    Join Date
    Mar 2009
    Location
    El Paso, TX
    Posts
    23
    Rep Power
    6

    Default [SOLVED] Increase number of logs to keep

    Hello,

    I'm trying to find out how to go about increasing how long it keeps the following log files:
    /opt/zimbra/log/audit.log
    /opt/zimbra/log/mailbox.log
    /opt/zimbra/mailboxd/logs/access_log.YYYY-MM-DD

    I search around and I'd imagine it would be the zimbraLogRawLifetime setting, but that is set to 31d
    Or is this referring to something else?

    I need to go through and track down login attempts for the admin accounts for the past month.
    I've gone through the audit.log, but it's only keeping the logs for the past 10 days.

    Thanks for any help.

  2. #2
    Join Date
    Mar 2007
    Posts
    95
    Rep Power
    8

    Default

    IIRC I wanted to up my zimbra.log files to 30 days - that was done in /etc/logrotate.conf

  3. #3
    Join Date
    Mar 2009
    Location
    El Paso, TX
    Posts
    23
    Rep Power
    6

    Default

    Yeah, I've increased the /var/log/zimbra.log that are kept, but that doesn't track login attempts.
    There are no entries in logrotate.d for the other ones though so I'm not sure what's handling them

  4. #4
    Join Date
    Mar 2007
    Posts
    95
    Rep Power
    8

    Default

    ah, it's in the crontab of the zimbra user:

    Code:
    30 2 * * * find /opt/zimbra/log/ -type f -name \*.log\* -mtime +8 -exec rm {} \; > /dev/null 2>&1
    Ajcody-Logging - Zimbra :: Wiki

  5. #5
    Join Date
    Aug 2009
    Location
    Palma de Mallorca, Spain
    Posts
    66
    Rep Power
    6

    Default Rfe

    Hi,

    i created a bug/feature request:

    Bug 44554 – log4j configurable amount of days to keep logs.

    if this is one of the configuration problems which concern you maybe you care to vote.

    best regards
    Ray

Similar Threads

  1. zimbra "freezes" when a certain user logs in.
    By gruad23 in forum Administrators
    Replies: 5
    Last Post: 04-05-2010, 08:26 AM
  2. Replies: 4
    Last Post: 10-14-2009, 01:56 PM
  3. Replies: 1
    Last Post: 06-26-2008, 04:48 AM
  4. Redo logs not being erased after incr backup
    By peter@mxtoolbox.com in forum Administrators
    Replies: 3
    Last Post: 05-01-2008, 03:41 PM
  5. Replies: 7
    Last Post: 02-27-2008, 05:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •