All:

The reason my logging configurations were acting sporadically is because
there is no call ever to a Jmsg() with 'type' M_SAVED as defined in
src/lib/message.h

Presumably it belongs in save_file() somewhere.  I'll play around with
it.

-- 
Brian A. Seklecki <[EMAIL PROTECTED]>
Collaborative Fusion, Inc.




IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.

--- Begin Message ---
I'm trying to log all saved (and skipped) files on full/incr jobs. My
msg resource:

Messages {
  Name = Standard
  append = "/var/log/bacula-job-debug.log" = all
}

-d9999 output:

bacula-fd: parse_conf.c:303 store_msgs
dest=/var/log/bacula-job-debug.log:

bacula-fd: message.c:333 add new d=809b418 msgtype=7 destcode=4
where=/var/log/bacula-job-debug.log mailcmd=*None*

bacula-fd: message.c:313 Add to existing d=809b418 msgtype=2 destcode=4
where=/var/log/bacula-job-debug.log

bacula-fd: message.c:313 Add to existing d=809b418 msgtype=3 destcode=4
where=/var/log/bacula-job-debug.log


The file:

# tail -F /var/log/bacula-job-debug.log 

16-May 09:32 soundwave-fd: Fatal Error because: Bacula interrupted by
signal 18: Keyboard stop



Start a job:

soundwave-fd: find_one.c:210 File ----: /home/seklecki/.gftp/gftp.log
soundwave-fd: backup.c:246 FT_REG saving: /home/seklecki/.gftp/gftp.log
soundwave-fd: backup.c:331 bfiled: sending /home/seklecki/.gftp/gftp.log
to stored
soundwave-fd: backup.c:1017 File /home/seklecki/.gftp/gftp.log
soundwave-fd: backup.c:1062 >stored: attr len=99: 402
3 /home/seklecki/.gftp/gftp.log
soundwave-fd: bfile.c:778 open file /home/seklecki/.gftp/gftp.log

Absolutely no indication that the message should be routed anywhere.
But I am getting some messages (critical errors)
to /var/log/bacula-job-debug.log.

I've tried a variety of method methods (syslog, file, append, stdout)
and a variety of levels (all, saved, skipped, etc.).  Nothing.

At one point this morning it _was_ working, to syslog, but only skipped
messages: 


2007 May 16 08:48:50 EDT soundwave [bacula-fd][daemon][err] bacula-fd:
soundwave-fd:      Unchanged file
skipped: 
/home/seklecki/.evolution/mail/imap/fooserver:993/folders/INBOX/subfolders/Periodic/subfolders/2006-05/303.HEADER

I'll re-read the manual and browse message.c to see if I'm missing
anything obvious.  This seems pretty straightforward though.

This is 2.0.3 on FreeBSD 6.2/i386.

-- 
Brian A. Seklecki <[EMAIL PROTECTED]>
Collaborative Fusion, Inc.


--- End Message ---
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to