purpose: want to enable the JDBCAppender to log to a database
in etc/org.ops4j.pax.logging.cfg, I made changes, added the appender:
log4j.rootLogger=INFO, out, osgi:VmLogAppender, DB
log4j.appender.DB.sql=INSERT INTO LOGS VALUES('%x','%d','%C','%p','%m')
I copied the jdbc driver jar file to the deploy - also tried copying it to the lib directory
(straight from the mysql distribution)
however, I cannot get the pax-logging-service to load the driver class:
I did looked at http://fusesource.com/issues/browse/ESB-1238 - didnt see anything there
Do I need to create a fragment bundle for pax-logging-service ? tried with this pom
Could you please guide me setting up database logging ?
(I have a support contract - pm me if needed)
And yeah, if you have support contract please use that channel to get quick help.
|Retrieving data ...|