1 Reply Latest reply on May 14, 2013 2:11 PM by Claus Ibsen

    camel audit logging in activemq using logback

    Subramanian Hariharan Newbie

      I am new to Camel and just started learning and using it for current project.


      Am planning to audit the log message in activemq and to use 'logback' (I don't know whether any other suitable options available). 


      Based on some blogs/article, I started to use logback and started to implement as mentioned below.


      added the following items before pax logging services in startup.properties file.





      added the following configurations in org.ops4j.pax.logging.cfg file in etc folder.


      log4j.logger.jms=INFO, jms








      In my fuse project, I am logging the message as mentioned below.


      log4j:ERROR Could not instantiate class .

      java.lang.ClassNotFoundException: ch.qos.logback.classic.net.JMSQueueAppender not found by org.ops4j.pax.logging.pax-logging-service


      couple of same messages in activemq :

      javax.jms.JMSException: Failed to build body from content. Serializable class not available to broker. Reason: java.lang.ClassNotFoundException: ch.qos.logback.classic.spi.LoggingEventVO not found by org.fusesource.mq.mq-web-console


      I need some help to find out whether I have done anything wrong or misunderstood the implementation.


      Edited by: subbusdm on May 7, 2013 11:58 AM