Logging in Apache KARAF
<p>I'm trying to limit the log level to INFO in webconsole and to DEBUG in Log file. I have tried this: 
in org.ops4j.pax.logging.cfg:</p>

<pre><code># Root logger
log4j.rootLogger=INFO, out, osgi:*
log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer

# File appender
log4j.appender.out.threshold=DEBUG
log4j.appender.out=org.apache.log4j.RollingFileAppender
log4j.appender.out.layout=org.apache.log4j.PatternLayout
log4j.appender.out.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
log4j.appender.out.file=${karaf.data}/log/karaf.log
log4j.appender.out.append=true
log4j.appender.out.maxFileSize=1MB
log4j.appender.out.maxBackupIndex=10
</code></pre>

<p>this is the route: blueprint.xml:</p>

<pre><code>&lt;route id="timerToLog"&gt;
      &lt;from uri="timer:foo?period=5000"/&gt;
      &lt;setBody&gt;
          &lt;method ref="helloBean" method="hello"/&gt;
      &lt;/setBody&gt;
      &lt;log message="The message contains ${body}" loggingLevel="DEBUG"/&gt;
      &lt;log message="ok" loggingLevel="INFO"/&gt;
&lt;/route&gt;
</code></pre>

<p>But i got only INFO log in Log file and not DEBUG. How can i do it ?</p>