Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-22-2009, 02:35 PM
Intermediate Member
 
Posts: 23
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.
Reply With Quote
  #2 (permalink)  
Old 12-22-2009, 05:38 PM
Loyal Member
 
Posts: 92
Default

IIRC I wanted to up my zimbra.log files to 30 days - that was done in /etc/logrotate.conf
Reply With Quote
  #3 (permalink)  
Old 12-22-2009, 06:01 PM
Intermediate Member
 
Posts: 23
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
Reply With Quote
  #4 (permalink)  
Old 12-23-2009, 06:43 PM
Loyal Member
 
Posts: 92
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
Reply With Quote
  #5 (permalink)  
Old 02-10-2010, 02:20 AM
Translation Moderator
 
Posts: 64
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.