Bacula-users

[Bacula-users] date/time format in the bacula logfile depends on message configuration

2008-08-19 08:44:01
Subject: [Bacula-users] date/time format in the bacula logfile depends on message configuration
From: Thomas <thomas AT ic3s DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 19 Aug 2008 14:42:37 +0200
my bacula logfile:

19-Aug 11:34 backup-dir JobId 49769: Start Backup JobId 49769, 
Job=job.2008-08-19_11.34.04
19-Aug 11:34 backup-dir JobId 49769: Using Device "JBBB-1"
19-Aug 11:35 backup-sd-bb JobId 49769: Job write elapsed time = 00:01:23, 
Transfer rate = 42.55 K bytes/second
19-Aug 11:35 backup-dir JobId 49769: Bacula backup-dir 2.4.2 (26Jul08): 
19-Aug-2008 11:35:41
  Build OS:               x86_64-unknown-linux-gnu debian 4.0
  JobId:                  49769



my message resource:

Messages {
  Name = Standard
  mailcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t 
%e of %c %l\" %r"
  operatorcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: 
Intervention needed for %j\" %r"
  mail = b AT ic3s DOT de = all
  mail = y AT ic3s DOT de = warning, error, fatal, terminate
  operator = r AT ic3s DOT de = mount
  console = all, !skipped, !saved
  append = "/var/lib/bacula/log" = all #, !skipped
}

now i add "catalog = all :

Messages {
  Name = Standard
  mailcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t 
%e of %c %l\" %r"
  operatorcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: 
Intervention needed for %j\" %r"
  mail = b AT ic3s DOT de = all
  mail = y AT ic3s DOT de = warning, error, fatal, terminate
  operator = r AT ic3s DOT de = mount
  console = all, !skipped, !saved
  catalog = all
  append = "/var/lib/bacula/log" = all #, !skipped
}

and the date/time format in the logfile changed to :

2008-08-19 11:49:32backup-dir JobId 49770: Start Backup JobId 49770, 
Job=job77.2008-08-19_11.49.03
2008-08-19 11:49:33backup-dir JobId 49770: Using Device "BB-USB1"

the catalog is postgres
and at least the missing "space"
between the seconds and the message
is a bug :)



-- 
[:O]###[O:]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] date/time format in the bacula logfile depends on message configuration, Thomas <=