Log to syslog:
# Message delivery for daemon messages (no job).
Messages {
Name = Daemon
syslog = all, !skipped
}
-----------
syslog-ng.conf:
destination baculadirlog { file("/var/log/bacula-dir.log"
template("$FULLDATE $TZ $HOST [$PROGRAM][$PID] [$FACILITY] [$LEVEL] $MSG
\n") ); }
filter f_prog_baculadir { program("bacula-dir"); };
# Catch all logs from bacula-dir
log { source(src); filter(f_prog_baculadir); filter(f_daemon);
destination(baculadirlog); flags(final); };
~BAS
On Thu, 2007-06-14 at 13:35 -0700, Kyle Marsh wrote:
> here is a way to have the messages all be
> logged, but not sent to the console unless the console is active -- I
> don't plan to be looking at the console much once a system i
--
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.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users