Results 1 to 6 of 6

Thread: Zimbra Logging - Reduce

  1. #1
    xeon is offline Advanced Member
    Join Date
    Oct 2008
    Posts
    212
    Rep Power
    6

    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 04:32 PM.

  2. #2
    xeon is offline Advanced Member
    Join Date
    Oct 2008
    Posts
    212
    Rep Power
    6

    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 06:09 PM.

  3. #3
    xeon is offline Advanced Member
    Join Date
    Oct 2008
    Posts
    212
    Rep Power
    6

    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!

  4. #4
    bdial's Avatar
    bdial is offline Moderator
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    zimbra rewrites the main.cf on restart. to make permanent changes you need to use postconf -e

  5. #5
    xeon is offline Advanced Member
    Join Date
    Oct 2008
    Posts
    212
    Rep Power
    6

    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 02:26 PM.

  6. #6
    xeon is offline Advanced Member
    Join Date
    Oct 2008
    Posts
    212
    Rep Power
    6

    Default

    Any suggestions to reduce/remove Zimbra logging?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 8
    Last Post: 01-12-2012, 02:20 AM
  2. Replies: 12
    Last Post: 02-25-2008, 07:28 PM
  3. Replies: 31
    Last Post: 12-15-2007, 09:05 PM
  4. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 08:55 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 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
  •