Package: libparse-syslog-perl Version: 1.03-1 Severity: normal Our syslog near the end of October this year looks like this:
Oct 30 01:59:53 ivr3 bayonne: dx(8): play Oct 30 01:59:58 ivr3 bayonne: dx(8): step ffff sleep(%timeout) Oct 30 01:59:58 ivr3 bayonne: dx(8): sleep Oct 30 01:00:00 ivr3 CROND[6946]: (root) CMD (/usr/lib/sa/sa1 1 1) Oct 30 01:00:00 ivr3 CROND[6947]: (root) CMD (/usr/local/bin/runtsync) Oct 30 01:00:04 ivr3 bayonne: dx(8): step ffff set(%warning,%noinput) Parse::Syslog doesn't correctly handle the second 1AM. Instead, it warps the time backwards! That is, if you paste the above into the following: perl -MParse::Syslog -e 'my $p = new Parse::Syslog("/dev/stdin", arrayref => 1); while ($arr = $p->next) { print "$arr->[0]\n" }' You get: 1130651993 1130651998 1130651998 1130648400 1130648400 1130648404 When it finally hits this line: Oct 30 02:00:00 ivr3 CROND[7083]: (root) CMD (/usr/lib/sa/sa1 1 1) it manages to spit out a correct time stamp again, 1130655600. -- System Information: Debian Release: 3.1 APT prefers stable APT policy: (500, 'stable'), (99, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14-2-686-smp Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages libparse-syslog-perl depends on: ii perl 5.8.4-8 Larry Wall's Practical Extraction libparse-syslog-perl recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]