Your message dated Sun, 20 Sep 2009 00:02:08 +0000
with message-id <[email protected]>
and subject line Bug#241712: fixed in syslog-summary 1.14-1
has caused the Debian Bug report #241712,
regarding syslog-summary: man page is misleading regarding ignore regexps
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
241712: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=241712
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: syslog-summary
Version: 1.12
Severity: minor

        In the man page, the definition of the parameter "-i" is:

        Read regular expressions from filename, and ignore lines in the
        logfiles that match them.

        But this is wrong: the lines ignored are not the ones in the
logfiles, but the ones in program's output. At least, that's what I've
found through experimentation and this section in the code (starting at
line 117):

        --- cut ---

        while line:
                md5obj.update(line)
                linecount = linecount + 1
                date, rest = split_date(line)
                if date:
                        found = pidpat.search(rest)
                        if found:
                                rest = found.group(1)+": "+rest[found.end():]

                count = 1
                repeated = None
                if REPEAT:
                        repeated=repeatpat.search(rest)
                if repeated and previous:
                        count = int(repeated.group(1))
                        rest = previous

                if should_be_ignored(rest):
                        ignored_count = ignored_count + count

        --- cut ---

        The line from the log file is first split and parsed, and then
the regexps from the ignore file are used on the part of the line that
is showed in syslog-summary's output. Hit me with a cluebat if I've not
understood the code and should shut up :-)

        So, the documentation should state that difference, or the
program should behave like the documentation says and filter the lines
from the log files. IMHO the latter would be better: I could use
logcheck's regexp files instead of having to code my own, and besides
the program could be a little faster (because it wouldn't need to parse
the line first and then check the regexps).


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.24-server-up-p2
Locale: LANG=es_ES, LC_CTYPE=es_ES (ignored: LC_ALL set to es_ES)

Versions of packages syslog-summary depends on:
ii  python2.2                     2.2.3-9    An interactive high-level object-o

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: syslog-summary
Source-Version: 1.14-1

We believe that the bug you reported is fixed in the latest version of
syslog-summary, which is due to be installed in the Debian FTP archive:

syslog-summary_1.14-1.diff.gz
  to pool/main/s/syslog-summary/syslog-summary_1.14-1.diff.gz
syslog-summary_1.14-1.dsc
  to pool/main/s/syslog-summary/syslog-summary_1.14-1.dsc
syslog-summary_1.14-1_all.deb
  to pool/main/s/syslog-summary/syslog-summary_1.14-1_all.deb
syslog-summary_1.14.orig.tar.gz
  to pool/main/s/syslog-summary/syslog-summary_1.14.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Paleino <[email protected]> (supplier of updated syslog-summary package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 18 Sep 2009 11:15:40 +0200
Source: syslog-summary
Binary: syslog-summary
Architecture: source all
Version: 1.14-1
Distribution: unstable
Urgency: low
Maintainer: David Paleino <[email protected]>
Changed-By: David Paleino <[email protected]>
Description: 
 syslog-summary - summarize the contents of a syslog log file
Closes: 241712 284708 534451
Changes: 
 syslog-summary (1.14-1) unstable; urgency=low
 .
   * New upstream release:
     - implemented automatic decompression of .gz files (Closes: #284708)
     - refactored hashing code, not to use py2.6 deprecated libraries
       (Closes: #534451)
     - check lines against regex earlier in the code (Closes: #241712)
   * debian/watch updated
   * debian/TODO removed, that should really be an upstream file
   * debian/compat bumped to 7
   * debian/rules:
     - now uses dh7-tiny layout
     - manually set DESTDIR to fix FTBFS
     - use --with quilt
   * debian/control:
     - Build-Depends on debhelper bumped to >= 7
     - Build-Depends added on quilt >= 0.46-7~
     - Build-Depends added on python-support
     - Build-Depends added on python
     - Standards-Version bumped to 3.8.3, no changes needed
     - Vcs-* fields updated
     - added ${misc:Depends} and ${python:Depends} to Dependency field
     - removed "python" dependency (should come from python:Depends)
     - added Recommends on python-magic (for gz-compression detection)
     - DMUA set
   * debian/patches/00-fix_Makefile.patch added, fixes FTBFS
   * debian/manpages added
   * debian/README.source added
   * debian/pyversions added (only tested upstream with 2.5)
Checksums-Sha1: 
 fde9d12dedce3116252dd3b3408fd82b144a0f50 1186 syslog-summary_1.14-1.dsc
 53d9d595fe5803801ebd84425832270b1f86051b 7278 syslog-summary_1.14.orig.tar.gz
 ca523c131a429631525f71d99d6418b7124619e7 3842 syslog-summary_1.14-1.diff.gz
 d622ccd70b9cdfccb2c07eab781e7cbea58dbbb7 10156 syslog-summary_1.14-1_all.deb
Checksums-Sha256: 
 d9aee9c5f4f29703354c343850c5c35db39b22e22b889caa8c275df4ee7818a9 1186 
syslog-summary_1.14-1.dsc
 d912e9b7db3e3a33a4a95662c97ccf73ac5ead4d2f1779ef9184c53bede8518b 7278 
syslog-summary_1.14.orig.tar.gz
 eefde56525b74bf2301bbcebab33efea0e2f91e47eb8e0ed7e45725c3842686a 3842 
syslog-summary_1.14-1.diff.gz
 8314c10a6f952c3cc32916ace6d30008d56a751e0356343849a23de3b71c1171 10156 
syslog-summary_1.14-1_all.deb
Files: 
 9b4f85d3f6fb7544c689a160436edbbd 1186 admin optional syslog-summary_1.14-1.dsc
 c1f0bed6664bc429d2679405dcb8fc11 7278 admin optional 
syslog-summary_1.14.orig.tar.gz
 d22a79d264c67402a0c1ee514e4179dc 3842 admin optional 
syslog-summary_1.14-1.diff.gz
 9160fb88e1d1ec62ee445792bc9f1ea4 10156 admin optional 
syslog-summary_1.14-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkq1busACgkQdYl1krr+x/JOOwCfeC2sZD+HeghXPD2/Oj+4DMa+
Z2cAnA7PErnN2vMX5ux06fzHlUjYzYP/
=8QCb
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to