Results 1 to 4 of 4

Thread: Cleaning Zimbra Logger logs

  1. #1
    shelta is offline Starter Member
    Join Date
    Jul 2007
    Posts
    2
    Rep Power
    7

    Default Cleaning Zimbra Logger logs

    Hi ,

    Size of my /opt/zimbra/logger/db/data directory is increasing rapidly. Is there any procedure to clean logs in Zimbra? Is a simple SQL DELETE expression enough?

    Can I change log level of Zimbra Logger?

    Also, what procedure you recommend to implement an auto log clean (i.e. clean logs older that two months) script?

    Regards.

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    You can reset the logger by running:

    Code:
    su - zimbra
    stop logger db  (mysql processes) 
    rm -rf /opt/zimbra/logger/db/data 
    /opt/zimbra/libexec/zmloggerinit

  3. #3
    shelta is offline Starter Member
    Join Date
    Jul 2007
    Posts
    2
    Rep Power
    7

    Default

    Thanks, it worked...

  4. #4
    padraig's Avatar
    padraig is offline Elite Member
    Join Date
    Jul 2006
    Location
    ireland
    Posts
    388
    Rep Power
    8

    Default 5.02

    Quote Originally Posted by jholder View Post
    You can reset the logger by running:

    Code:
    su - zimbra
    stop logger db  (mysql processes) 
    rm -rf /opt/zimbra/logger/db/data 
    /opt/zimbra/libexec/zmloggerinit
    Hi John, is this still vaild for 5.02
    thanks,
    p.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 05:43 AM
  2. zmtlsctl give LDAP error
    By sourcehound in forum Administrators
    Replies: 5
    Last Post: 03-11-2007, 03:48 PM
  3. 4.5 Upgrade failure
    By brained in forum Installation
    Replies: 9
    Last Post: 03-03-2007, 03:30 PM
  4. dspam logrotate errors
    By michaeln in forum Users
    Replies: 7
    Last Post: 02-19-2007, 12:45 PM
  5. Monitoring : Data not yet avalaible
    By s3nz3x in forum Installation
    Replies: 7
    Last Post: 11-30-2005, 07:18 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
  •