Results 1 to 9 of 9

Thread: Filters & Logging

  1. #1
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default Filters & Logging

    Are there any logging facilities for the user defined filters in mailboxes? I would find it useful have a log of what happens when an email passes through the filters such as message id, filter that was used, action taken dates & times etc. This might be useful for audit purposes as you can, for instance, discard an email in the filters. If there aren't any logs, are there plans to add it?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  2. #2
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default log4j.properties

    Quote Originally Posted by phoenix
    Are there any logging facilities for the user defined filters in mailboxes? I would find it useful have a log of what happens when an email passes through the filters such as message id, filter that was used, action taken dates & times etc. This might be useful for audit purposes as you can, for instance, discard an email in the filters. If there aren't any logs, are there plans to add it?
    I think cranking logging up to DEBUG in log4j.properties will log filter information, and a whole lot more, to /opt/zimbra/log/zimbra.log. No plans to add logging for just filters, but if you think it would be useful, add an RFE to bugzilla.

  3. #3
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default debug logging

    Quote Originally Posted by marcmac
    I think cranking logging up to DEBUG in log4j.properties will log filter information, and a whole lot more, to /opt/zimbra/log/zimbra.log. No plans to add logging for just filters, but if you think it would be useful, add an RFE to bugzilla.
    BTW - not something to do on a busy box or one with slow disk.

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    Quote Originally Posted by marcmac
    I think cranking logging up to DEBUG in log4j.properties will log filter information, and a whole lot more, to /opt/zimbra/log/zimbra.log. No plans to add logging for just filters, but if you think it would be useful, add an RFE to bugzilla.
    OK, I give it a whirl and my system isn't very busy so I guess I'll be buried under mounds of data. Thanks.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    We've alrady got logging for just filters:

    Try:
    log4j.additivity.zimbra.filter=false
    log4j.logger.zimbra.filter=DEBUG

    BTW: You can see all the *special* log categories here:

    http://bugzilla.zimbra.com:8080/view...og.java?r=1.11
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    Thanks for those details, I'll have a play with them tomorrow.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    adobrin is offline Special Member
    Join Date
    Sep 2005
    Posts
    135
    Rep Power
    9

    Default Logging Facility Help

    FYI,*http://bugzilla.zimbra.com:8080/vie...Log.java?r=1.11* doesn't seem to be working anymore.

    I'm trying to log IMAP DEBUG.* I added*log4j.logger.zimbra.imap=DEBUG
    to log4j.properties, but i'd really like it if this info wouldn't go into zimbra.log.

    is there a way to put it in a separate log file?* i tried adding:
    Code:
    log4j.appender.IMAP=org.apache.log4j.DailyRollingFileAppender
    log4j.appender.IMAP.File=/opt/zimbra/log/imap.log
    log4j.appender.IMAP.DatePattern='.'yyyy-MM-dd
    log4j.appender.IMAP.Append=true
    log4j.appender.IMAP.layout=org.apache.log4j.PatternLayout
    log4j.appender.IMAP.layout.ConversionPattern=%d %-5p [%t] [%x] %c{1} - %m%n
    but no go.

    I'd also like to log outlook connector, and mobile sync activities.* What's the facility for those?

  8. #8
    adobrin is offline Special Member
    Join Date
    Sep 2005
    Posts
    135
    Rep Power
    9

    Default err.

    additivity fixed it.* sorry.

  9. #9
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    Quote Originally Posted by adobrin
    additivity fixed it.* sorry.
    It might be useful, if you have some time, to add those details to the wiki for future users.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 05-03-2007, 01:37 AM
  2. Replies: 3
    Last Post: 04-06-2007, 07:07 AM
  3. Multiple Server Logging
    By jstrat in forum Administrators
    Replies: 1
    Last Post: 09-01-2006, 08:07 AM
  4. imapsync and mail filters
    By Coilcore in forum Administrators
    Replies: 5
    Last Post: 08-10-2006, 08:21 AM
  5. filters
    By rmvg in forum Users
    Replies: 0
    Last Post: 09-26-2005, 07:44 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
  •