Results 1 to 3 of 3

Thread: Logfile size

  1. #1
    Phantasmagoria is offline Loyal Member
    Join Date
    Oct 2005
    Hong Kong
    Rep Power

    Default Logfile size

    How can I set logfile size limit? For example my logger_myslow.log is 76mb right now...

  2. #2
    unilogic is offline Senior Member
    Join Date
    Nov 2005
    Rep Power


    Add to /opt/zimbra/bin/zmlogrotate and/or /etc/logrotate.d/zimbra
    It is a normal logrotate style file. You can add entries for logger_myslow.log. I included a wide varity of options. More of a discription can be found at man logrotate.

    /opt/zimbra/log/logger_myslow.log {
            create 0660 zimbra zimbra
            size 5000k
            rotate 3
    There is also a file /etc/logrotate.d/zimbra that is the same as zmlogrotate. I'm not sure which one to edit. I know logrotate will rotate the one in /etc/logrotate.d for sure though. To manually rotate the logs you can use logrotate /opt/zimbra/bin/zmlogrotate. I guess one could symlink one to the other to simplfy things.


  3. #3
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Rep Power

    Default which file?

    zmlogrotate is installed in /etc/logrotate.d - you want to edit the one in logrotate.d - I'll get this into the product for the next release.

    Thanks, guys...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Sort by size
    By cshepherd in forum Users
    Replies: 6
    Last Post: 01-31-2010, 12:05 AM
  2. Zimbra Email Size Limit
    By kurt2 in forum Administrators
    Replies: 7
    Last Post: 10-07-2009, 08:20 PM
  3. Get mailbox size (for create quota warning SMTP script)
    By inigoml in forum Administrators
    Replies: 28
    Last Post: 08-21-2007, 06:35 AM
  4. Increasing the size of an email
    By mansuper in forum Administrators
    Replies: 2
    Last Post: 10-30-2006, 12:36 AM
  5. Attachment size
    By kowell in forum Administrators
    Replies: 2
    Last Post: 06-14-2006, 08:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts