By default, the name of the log file for director message resources
was simply 'log' which is entirely generic.  On systems that use the
olddir parameter in logrotate (or similar in other systems), the logs
would be rotated into a directory where it might no longer be clear
what the origin of log.1.gz is without inspection.

Change the default log file name to be bacula-dir.log so that it is
specific and will be easy to indentify in a directory full of rotated
logs from other system components.

Signed-off-by: Ben Walton <bwal...@artsci.utoronto.ca>
---
 bacula/src/dird/bacula-dir.conf.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bacula/src/dird/bacula-dir.conf.in 
b/bacula/src/dird/bacula-dir.conf.in
index 080d59a..702db73 100644
--- a/bacula/src/dird/bacula-dir.conf.in
+++ b/bacula/src/dird/bacula-dir.conf.in
@@ -261,7 +261,7 @@ Messages {
 #          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 = "@working_dir@/bacula-dir.log" = all, !skipped
   catalog = all
 }
 
@@ -273,7 +273,7 @@ Messages {
   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 = "@working_dir@/bacula-dir.log" = all, !skipped
 }
 
 # Default pool definition
-- 
1.7.5.4


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to