42 lines
1.7 KiB
Diff
42 lines
1.7 KiB
Diff
diff -Naur bacula-5.2.10.old/scripts/logrotate.in bacula-5.2.10/scripts/logrotate.in
|
|
--- bacula-5.2.10.old/scripts/logrotate.in 2012-07-16 10:28:18.315149487 +0200
|
|
+++ bacula-5.2.10/scripts/logrotate.in 2012-07-16 10:30:32.024248913 +0200
|
|
@@ -6,7 +6,7 @@
|
|
#
|
|
# /etc/logrotate.d/bacula
|
|
#
|
|
-@working_dir@/log {
|
|
+@logdir@/bacula.log {
|
|
monthly
|
|
rotate 5
|
|
notifempty
|
|
diff -Naur bacula-5.2.10.old/scripts/logwatch/logfile.bacula.conf.in bacula-5.2.10/scripts/logwatch/logfile.bacula.conf.in
|
|
--- bacula-5.2.10.old/scripts/logwatch/logfile.bacula.conf.in 2012-07-16 10:28:18.314149434 +0200
|
|
+++ bacula-5.2.10/scripts/logwatch/logfile.bacula.conf.in 2012-07-16 10:29:33.428805897 +0200
|
|
@@ -1,3 +1,3 @@
|
|
# What actual file? Defaults to LogPath if not absolute path....
|
|
-LogFile = @working_dir@/log
|
|
+LogFile = @logdir@/bacula.log
|
|
|
|
diff -Naur bacula-5.2.10.old/src/dird/bacula-dir.conf.in bacula-5.2.10/src/dird/bacula-dir.conf.in
|
|
--- bacula-5.2.10.old/src/dird/bacula-dir.conf.in 2012-07-16 10:28:18.114138847 +0200
|
|
+++ bacula-5.2.10/src/dird/bacula-dir.conf.in 2012-07-16 10:28:33.508940427 +0200
|
|
@@ -261,7 +261,7 @@
|
|
# time to time as it will grow indefinitely. However, it will
|
|
# also keep all your messages if they scroll off the console.
|
|
#
|
|
- append = "@working_dir@/log" = all, !skipped
|
|
+ append = "@logdir@/bacula.log" = all, !skipped
|
|
catalog = all
|
|
}
|
|
|
|
@@ -273,7 +273,7 @@
|
|
mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r"
|
|
mail = @job_email@ = all, !skipped
|
|
console = all, !skipped, !saved
|
|
- append = "@working_dir@/log" = all, !skipped
|
|
+ append = "@logdir@/bacula.log" = all, !skipped
|
|
}
|
|
|
|
# Default pool definition
|