- Resolves: #424171 logwatch doesn't recognize dovecot starting up message

..
This commit is contained in:
Ivana Varekova 2008-01-02 14:49:45 +00:00
parent e0b060aebd
commit a24c00045c
2 changed files with 20 additions and 2 deletions

View File

@ -0,0 +1,12 @@
diff -up logwatch-7.3.6/scripts/services/dovecot.pom logwatch-7.3.6/scripts/services/dovecot
--- logwatch-7.3.6/scripts/services/dovecot.pom 2007-03-17 20:13:13.000000000 +0100
+++ logwatch-7.3.6/scripts/services/dovecot 2008-01-02 15:30:16.000000000 +0100
@@ -56,7 +56,7 @@ while (defined($ThisLine = <STDIN>)) {
# We don't care about these
} elsif ( $ThisLine =~ /Killed with signal /) {
$End++;
- } elsif ( $ThisLine =~ /Dovecot starting up$/) {
+ } elsif ( $ThisLine =~ /Dovecot (v\d[^ ]* |)starting up$/) {
$Restarts++;
$End = 0;
} elsif ( ($User, $Host) = ( $ThisLine =~ /^pop3-login: Login: (.*?) \[(.*)\]/ ) ) {

View File

@ -1,7 +1,7 @@
Summary: A log file analysis program
Name: logwatch
Version: 7.3.6
Release: 14%{?dist}
Release: 15%{?dist}
License: MIT
Group: Applications/System
URL: http://www.logwatch.org/
@ -28,6 +28,7 @@ Patch21: logwatch-7.3.6-sudo.patch
Patch22: logwatch-7.3.6-sshd1.patch
Patch23: logwatch-7.3.6-clamav-milter.patch
Patch24: logwatch-7.3.6-conf.patch
Patch25: logwatch-7.3.6-dovecot.patch
Requires: textutils sh-utils grep mailx
Requires: perl(Date::Manip)
@ -64,6 +65,7 @@ of the package on many systems.
%patch22 -p1
%patch23 -p1
%patch24 -p1
%patch25 -p1
%build
@ -176,7 +178,11 @@ rm -rf %{buildroot}
%doc License project/CHANGES
%changelog
* Wed Jan 2 2008 Ivana Varekova <varekova@redhat.com> 7.3.6-13
* Wed Jan 2 2008 Ivana Varekova <varekova@redhat.com> 7.3.6-15
- Resolves: #424171
logwatch doesn't recognize dovecot starting up message ..
* Wed Jan 2 2008 Ivana Varekova <varekova@redhat.com> 7.3.6-14
- Resolves: #426857
is report cdrom "disk full" necessary