bacula/bacula-5.2.4-log-path.patch
2012-01-20 18:03:42 +01:00

30 lines
1.3 KiB
Diff

diff -Naur bacula-5.2.2.old/src/dird/bacula-dir.conf.in bacula-5.2.2/src/dird/bacula-dir.conf.in
--- bacula-5.2.2.old/src/dird/bacula-dir.conf.in 2011-12-05 14:14:52.730892121 +0100
+++ bacula-5.2.2/src/dird/bacula-dir.conf.in 2011-12-07 16:55:16.391276283 +0100
@@ -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
diff -Naur bacula-5.2.4.old/scripts/logwatch/logfile.bacula.conf.in bacula-5.2.4/scripts/logwatch/logfile.bacula.conf.in
--- bacula-5.2.4.old/scripts/logwatch/logfile.bacula.conf.in 2012-01-20 17:56:38.650667075 +0100
+++ bacula-5.2.4/scripts/logwatch/logfile.bacula.conf.in 2012-01-20 17:58:24.199868050 +0100
@@ -1,3 +1,4 @@
# What actual file? Defaults to LogPath if not absolute path....
LogFile = @working_dir@/log
+LogFile = @logdir@/bacula.log