| Welcome to the Zimbra :: Forums! | |
Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
|  | 
02-10-2006, 04:43 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | 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
| 
02-10-2006, 06:59 AM
| | Zimbra Employee | |
Posts: 2,103
| | 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. | 
02-10-2006, 06:59 AM
| | Zimbra Employee | |
Posts: 2,103
| | 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. | 
02-10-2006, 11:36 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | 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
| 
02-10-2006, 12:21 PM
| | Zimbra Employee | |
Posts: 4,792
| | 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 | 
02-10-2006, 12:33 PM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | Thanks for those details, I'll have a play with them tomorrow.
__________________
Regards
Bill
| 
08-25-2006, 09:11 AM
| | Special Member | |
Posts: 135
| | 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? | 
08-25-2006, 09:44 AM
| | Special Member | |
Posts: 135
| | err. additivity fixed it.* sorry. | 
08-25-2006, 10:36 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | 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
| | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |