Peter Reilly wrote:
> I'm using mysql 5.0.45, and bacula 2.4.2 (installed from RPM).  Most things 
> seem to be working well, but I'm getting nothing written to the log table in 
> mysql.  
> 
> What configuration setting controls logging events to the mysql database?

I find this interesting because I've never looked at the log table 
before.  Inspecting, I think of the Message resource.

Have a read of this:

   http://www.bacula.org/en/rel-manual/Messages_Resource.html

Look at the catalog option.

FYI, this is my messages resource:


Messages {
   Name = Standard
   mailcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) 
%r\" -s \"Bacula: %t %e of %c %l\" %r"
   operatorcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) 
%r\" -s \"Bacula: Intervention needed for %j\" %r"
   operator = r...@localhost = mount
   mail = r...@localhost = all
   console = all

   append = "/home/bacula/working/log" = all, !skipped, !restored

   catalog = all, !skipped, !saved
}

I suspect you are missing the catalog entry from this item.
-- 
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference:     http://www.pgcon.org/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to