DIYMacServer » Postfix

4 posts

Log Rotation: too fast/too much logging?

started at 13 Feb 2010
started by Michael
last reply from richard
  • Michael
    13 Feb 2010
    #

    Log is turning over every hour, with this message:Feb 12 19:00:00 Mailserver newsyslog[2599]: logfile turned over due to size>100K

    That's not enough time to troubleshoot anything but realtime problems. I'd like to either log less or roll over less.

  • 13 Feb 2010
    #

    To change the logging preferences you need to edit the file /etc/newsyslog.conf

    You might also change the debug level in postfix to help.

  • Michael
    15 Feb 2010
    #

    thanks, I increased the size of my logfile before rotation. We'll see if that helps.

    I can see how to increase the log level in postfix for specific domains, but not how to limit it, generally. I have the old (courier+postfix) setup.

  • 16 Feb 2010
    #

    For postfix in /etc/postfix/main.cf set debug_peer_level = 0 to keep only the essential stuff.

    For courier-auth set DEBUG_LOGIN=0

    This should cut down the logging information.

Reply

You must log in to post.