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 11-18-2008, 03:22 PM
Advanced Member
 
Posts: 212
Question Zimbra Logging - Reduce

Hello,

I have Zimbra 5.0.10 currently (upgraded this weekend from 5.0.6) FOSS.
Installed on Ubuntu JeOS 8.0.4.1 all up to date. I had this same problem on my old server that I upgraded from, I ended up deleting the files then it never recreated the log files.

My /var/log directory gets to be over 2GB in the matter of days, which then fills the hard drive. I have been trying all day to reduce or eliminate the logging of all the postfix traffic. I do not need this information. I have tried to turn off postfix logging, but every time I restart postfix the settings go back. So somewhere its being re-rewritten.

I have made these changes (as zimbra user):
zmprov mcf zimbraLogRawLifetime 1d
zmprov mcf zimbraLogSummaryLifetime 7d
zmlocalconfig -e ldap_log_level=0
zmlocalconfig -e zmmtaconfig_log_level=1

Then in /opt/zimbra/postfix/conf/main.cf:
smtpd_tls_loglevel = 0 (Always goes back to 1 which I assume is default)

Also in log4j.properties.in I changed most the 'DEBUG' or 'INFO' to 'WARN.'

Please help me reduce my log files or turn them off for email traffic. But obviously if I need them I will re-enable them.

Thank you in advance!

Last edited by xeon; 11-18-2008 at 03:32 PM..
Reply With Quote
  #2 (permalink)  
Old 11-18-2008, 04:29 PM
Advanced Member
 
Posts: 212
Default

Ok. I figured out how to change the smtpd_tls_loglevel to '0.'

I edited conf/zmmta.cf:
Code:
From:
POSTCONF smtpd_tls_loglevel      LOCAL postfix_smtpd_tls_loglevel
To:
POSTCONF smtpd_tls_loglevel      0
I am not sure if this is the correct process. But it rebuilt the main.cf file with those correct settings after a postfix reload.


This changed the setting. But my zimbra.log and syslog are still getting all the postfix information... Anyone?

Last edited by xeon; 11-18-2008 at 05:09 PM..
Reply With Quote
  #3 (permalink)  
Old 11-20-2008, 12:01 PM
Advanced Member
 
Posts: 212
Default

Does anyone know how to officially reduce the log chatting that Zimbra creates? Looks like those changes I made reduced the talking, which is better.

But I would really like to remove the postfix logging, if possible?

Thanks!
Reply With Quote
  #4 (permalink)  
Old 11-20-2008, 12:09 PM
Moderator
 
Posts: 1,554
Default

zimbra rewrites the main.cf on restart. to make permanent changes you need to use postconf -e
Reply With Quote
  #5 (permalink)  
Old 11-20-2008, 01:09 PM
Advanced Member
 
Posts: 212
Default

Quote:
Originally Posted by bdial View Post
zimbra rewrites the main.cf on restart. to make permanent changes you need to use postconf -e
I made the change to zmmta.cf and using the postconf -e as per my other replys. The postconf -e did not work after a restart. Changes went right back to what seemed to be defined in conf/zmmta.cf

The change for 'smtpd_tls_loglevel = 0' is in the active postfix/config/main.cf even after a restart.

There is also this setting for postfix, 'lmtp_tls_loglevel.' I am going to change that to zero and see if that helps.

The Zimbra.log and syslog are still getting postfix information though.

Thank you for your reply.

EDIT: I made the change to lmtp_tls_loglevel, no change.

Last edited by xeon; 11-20-2008 at 01:26 PM..
Reply With Quote
  #6 (permalink)  
Old 11-26-2008, 08:59 AM
Advanced Member
 
Posts: 212
Default

Any suggestions to reduce/remove Zimbra logging?
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.