include /var/log/bacula/*.log in logwatch (#924797)

This commit is contained in:
Petr Hracek 2013-04-08 13:13:44 +02:00
parent 6dd171151c
commit 823c612468
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,9 @@
diff --git a/scripts/logwatch/logfile.bacula.conf.in b/scripts/logwatch/logfile.bacula.conf.in
index 22b6e98..5d257ca 100644
--- a/scripts/logwatch/logfile.bacula.conf.in
+++ b/scripts/logwatch/logfile.bacula.conf.in
@@ -1,3 +1,3 @@
# What actual file? Defaults to LogPath if not absolute path....
-LogFile = @logdir@/bacula.log
+LogFile = @logdir@/*.log

View File

@ -3,7 +3,7 @@
Name: bacula
Version: 5.2.13
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
# See LICENSE for details
License: AGPLv3 with exceptions
@ -36,6 +36,7 @@ Patch2: bacula-5.2.2-queryfile.patch
Patch3: bacula-5.0.3-sqlite-priv.patch
Patch4: bacula-5.2.13-bat-build.patch
Patch5: bacula-5.2.12-seg-fault.patch
Patch6: bacula-5.2.13-logwatch.patch
BuildRequires: desktop-file-utils
BuildRequires: perl
@ -321,6 +322,7 @@ Provides check_bacula support for Nagios.
%patch3 -p0 -b .priv
%patch4 -p1 -b .bat-build
%patch5 -p1 -b .seg-fault
%patch6 -p1 -b .logwatch
cp %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} .
# Remove execution permissions from files we're packaging as docs later on
@ -907,6 +909,9 @@ fi
%changelog
* Mon Apr 08 2013 Petr Hracek <phracek@redhat.com> - 5.2.13-7
- include /var/log/bacula/*.log in logwatch (#924797)
* Mon Mar 04 2013 Simone Caronni <negativo17@gmail.com> - 5.2.13-6
- Add mt-st requirement to storage package; update quick start docs.