title: Jetty - How to make a camel application log events to the hawtio Logs tab
body: <p>I have a simple camel application logging events on a timer.  The logs currently go to a ConsoleAppender.  </p>
  
  <pre><code>    &lt;route&gt;
          &lt;from uri="timer://hello?period=5000"/&gt;
          &lt;to uri="log:loggingstuff?showAll=true"/&gt;
      &lt;/route&gt;
  </code></pre>
  
  <p>I have attempted to follow the documentation as per: <a href="http://hawt.io/plugins/logs/" rel="nofollow">http://hawt.io/plugins/logs/</a></p>
  
  <p>The application is deployed as a war on jetty, and has log4j, slf4j and insight-log4j as dependencies.  hawtio-default-1.4.37.war is deployed alongside it in the ${jetty.home}/webapps directory.  Jetty is started with "-Dhawtio.authenticationEnabled=false -Dhawtio.offline=true"</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;io.fabric8.insight&lt;/groupId&gt;
          &lt;artifactId&gt;insight-log4j&lt;/artifactId&gt;
          &lt;version&gt;1.2.0.Beta4&lt;/version&gt;
      &lt;/dependency&gt; 
  </code></pre>
  
  <p>and has the logQuery bean in the spring camel-context.xml</p>
  
  <pre><code>&lt;bean id="logQuery" class="io.fabric8.insight.log.log4j.Log4jLogQuery"
    lazy-init="false" scope="singleton"
    init-method="start" destroy-method="stop"/&gt;
  </code></pre>
  
  <p>Unfortunately I am not seeing the log events generated from the camel application.  The only events I see are:</p>
  
  <pre><code>2015-01-08 15:09:20.026 WARNio.hawt.config.ConfigFacade No ConfigFacade constructed yet so using default configuration for now
  2015-01-08 15:09:20.043 INFOio.hawt.git.GitFacade hawtio using config directory: /Users/ohhai/.hawtio/config
  2015-01-08 15:09:20.088 INFOio.hawt.git.GitFacade Performing a pull in git repository /Users/ohhai/.hawtio/config on remote URL: https://github.com/hawtio/hawtio-config.git. Subsequent     pull attempts will use debug logging
  2015-01-08 15:09:21.618 WARNio.hawt.jvm.local.JVMList Local JVM discovery disabled as this JVM cannot access com.sun.tools.attach.VirtualMachine due to: com/sun/tools/attach/VirtualMachine
  2015-01-08 15:09:21.621 INFOio.hawt.web.AuthenticationFilter Starting hawtio authentication filter, JAAS authentication disabled
  </code></pre>
  
  <p>Can anyone give me some pointers on how to get the logging displaying on the Logs Tab?</p>