| Newsgroups |
gmane.comp.log.logwatch.devel |
| Message-ID |
<[email protected]> |
Revision: 142
http://logwatch.svn.sourceforge.net/logwatch/?rev=142&view=rev
Author: stefjakobs
Date: 2013-05-29 15:15:43 +0000 (Wed, 29 May 2013)
Log Message:
-----------
dovecot: make the "headers to remove" section customizable. Needs
testing!!
Modified Paths:
--------------
conf/services/dovecot.conf
scripts/services/dovecot
Modified: conf/services/dovecot.conf
===================================================================
--- conf/services/dovecot.conf 2013-05-22 15:30:08 UTC (rev 141)
+++ conf/services/dovecot.conf 2013-05-29 15:15:43 UTC (rev 142)
@@ -1,19 +1,3 @@
-###########################################################################
-# $Id: dovecot.conf,v 1.3 2006/08/13 21:05:03 bjorn Exp $
-###########################################################################
-# $Log: dovecot.conf,v $
-# Revision 1.3 2006/08/13 21:05:03 bjorn
-# Changed OnlyService to include dovecot for compatibility with Dovecot 1.0
-# based on patches by Mark Nienberg; modification by Patrick Vande Walle.
-#
-# Revision 1.2 2005/12/07 04:31:44 bjorn
-# Added $dovecot_ignore_host.
-#
-# Revision 1.1 2005/09/18 17:01:05 bjorn
-# Dovecot filters written by Patrick Vande Walle.
-#
-###########################################################################
-
# You can put comments anywhere you want to. They are effective for the
# rest of the line.
@@ -30,6 +14,7 @@
LogFile = maillog
*OnlyService = (imap-login|pop3-login|dovecot)
+*RemoveHeaders = "^\w{3} .\d \d\d:\d\d:\d\d (?:[^\s:]* )?"
# Override the default Detail level. This will only affect dovecot's report.
#$dovecot_detail = 10
Modified: scripts/services/dovecot
===================================================================
--- scripts/services/dovecot 2013-05-22 15:30:08 UTC (rev 141)
+++ scripts/services/dovecot 2013-05-29 15:15:43 UTC (rev 142)
@@ -135,7 +135,7 @@
while (defined($ThisLine = <STDIN>)) {
# remove timestamp. We can't use *RemoveHeaders because we need the
# service name
- $ThisLine =~ s/^\w{3} .\d \d\d:\d\d:\d\d (?:[^\s:]* |)//;
+ #$ThisLine =~ s/^\w{3} .\d \d\d:\d\d:\d\d (?:[^\s:]* |)//;
if ( ($ThisLine =~ /(?:ssl-build-param|ssl-params): SSL parameters regeneration completed/) or
($ThisLine =~ /ssl-params: Generating SSL parameters/) or
($ThisLine =~ /auth-worker/) or
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1