Thread: huge log size
View Single Post
  #2 (permalink)  
Old 12-30-2006, 10:39 PM
brian brian is offline
Zimbra Employee
 
Posts: 601
Default

Hi rmvg,

The logger directory should only contain the database files and the mysql error file. Make sure the error file logger/db/data/<hostname>.err isn't large, if it has you can safely rotate it.

The logger retention is controlled by 2 config keys stored in ldap. You can reduce the size of the database by reducing the SummaryLifetime to 365 days, since that's all the graphs display anyways.
$ zmprov gcf zimbraLogRawLifetime
zimbraLogRawLifetime: 31d
$ zmprov gcf zimbraLogSummaryLifetime
zimbraLogSummaryLifetime: 730d

The files in the log directory are for the most part are rotated by the application server. These should be dated and you can either compress the older files or delete them if you don't have a need.

-Brian
Reply With Quote