Package: syslog-ng
Version: 1.9.11-1
Severity: wishlist
Tags: patch

Please consider the attached patch, which improves the logcheck 
filters provided by syslog-ng and closes #369489 (I am going to 
merge bugs as soon as this report has an ID). It also addresses
#352695, but that should be closed by the new upstream release.

Note, the patch may need a

  cd debian
  rm syslog-ng.logcheck.ignore syslog-ng.logcheck.ignore.workstation

in the source package if your patch binary does not delete empty 
files.

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
diff -u syslog-ng-1.9.11/debian/changelog syslog-ng-1.9.11/debian/changelog
--- syslog-ng-1.9.11/debian/changelog
+++ syslog-ng-1.9.11/debian/changelog
@@ -1,3 +1,12 @@
+syslog-ng (1.9.11-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Improving the logcheck rules.
+    - add rules to ignore xconsole messages (see #352695).
+    - add rule to ignore statistics (closes: #369489).
+
+ -- martin f. krafft <[EMAIL PROTECTED]>  Tue,  4 Jul 2006 20:01:19 +0200
+
 syslog-ng (1.9.11-1) unstable; urgency=low
 
   * New upstream version
diff -u syslog-ng-1.9.11/debian/syslog-ng.logcheck.ignore.paranoid 
syslog-ng-1.9.11/debian/syslog-ng.logcheck.ignore.paranoid
--- syslog-ng-1.9.11/debian/syslog-ng.logcheck.ignore.paranoid
+++ syslog-ng-1.9.11/debian/syslog-ng.logcheck.ignore.paranoid
@@ -1,3 +1 @@
-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ syslog-ng\[[[:digit:]]{1,5}\]: Log 
statistics; (processed='(source|destination)\([-_[:alnum:]]+\)=[[:digit:]]+'(, 
)?)
-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ syslog-ng\[[[:digit:]]{1,5}\]: SIGHUP 
received, reloading configuration;
-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ syslog-ng\[[[:digit:]]{1,5}\]: 
Duplicate stats counter; (counter='[^']+'(, )?)
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ syslog-ng\[[[:digit:]]{1,5}\]: STATS: 
dropped 0$
diff -u syslog-ng-1.9.11/debian/syslog-ng.logcheck.ignore.server 
syslog-ng-1.9.11/debian/syslog-ng.logcheck.ignore.server
--- syslog-ng-1.9.11/debian/syslog-ng.logcheck.ignore.server
+++ syslog-ng-1.9.11/debian/syslog-ng.logcheck.ignore.server
@@ -1,3 +1,5 @@
-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ syslog-ng\[[[:digit:]]{1,5}\]: Log 
statistics; (processed='(source|destination)\([-_[:alnum:]]+\)=[[:digit:]]+'(, 
)?)
-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ syslog-ng\[[[:digit:]]{1,5}\]: SIGHUP 
received, reloading configuration;
-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ syslog-ng\[[[:digit:]]{1,5}\]: 
Duplicate stats counter; (counter='[^']+'(, )?)
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ syslog-ng\[[[:digit:]]{1,5}\]: new 
configuration initialized$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ syslog-ng\[[[:digit:]]{1,5}\]: SIGHUP 
received, reloading configuration;$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ syslog-ng\[[[:digit:]]{1,5}\]: 
Duplicate stats counter; (counter='[^']+'(, )?)$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ syslog-ng\[[[:digit:]]{1,5}\]: 
Changing permissions on special file /dev/xconsole$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ syslog-ng\[[[:digit:]]{1,5}\]: Cannot 
open file /dev/xconsole for writing \(No such file or directory\)$
reverted:
--- syslog-ng-1.9.11/debian/syslog-ng.logcheck.ignore.workstation
+++ syslog-ng-1.9.11.orig/debian/syslog-ng.logcheck.ignore.workstation
@@ -1,3 +0,0 @@
-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ syslog-ng\[[[:digit:]]{1,5}\]: Log 
statistics; (processed='(source|destination)\([-_[:alnum:]]+\)=[[:digit:]]+'(, 
)?)
-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ syslog-ng\[[[:digit:]]{1,5}\]: SIGHUP 
received, reloading configuration;
-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ syslog-ng\[[[:digit:]]{1,5}\]: 
Duplicate stats counter; (counter='[^']+'(, )?)
only in patch2:
unchanged:
--- syslog-ng-1.9.11.orig/debian/syslog-ng.logcheck.violations.ignore
+++ syslog-ng-1.9.11/debian/syslog-ng.logcheck.violations.ignore
@@ -0,0 +1 @@
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ syslog-ng\[[[:digit:]]{1,5}\]: Log 
statistics ; 
(processed='(source|destination)\([-_[:alnum:]]+\)=[[:digit:]]+',)+.+$
only in patch2:
unchanged:
--- syslog-ng-1.9.11.orig/debian/syslog-ng.logcheck.ignore
+++ syslog-ng-1.9.11/debian/syslog-ng.logcheck.ignore
@@ -1,2 +0,0 @@
-syslog-ng\[.*\]: new configuration initialized
-syslog-ng\[.*\]: STATS: dropped 0

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to