Hi,

Sure, just enable sift log appender, 
edit etc/org.ops4j.pax.logging.cfg
change  rootLogger to something like, you can get more details from [1] & [2]
log4j.rootLogger=INFO, out, sift, osgi:VmLogAppender

[1]http://fusesource.com/docs/esb/4.4.1/esb_runtime/ESBRuntimeLogConfig.html
[2]https://access.redhat.com/site/documentation/en-US/Fuse_ESB_Enterprise/7.1/html/Configuring_and_Running_Fuse_ESB_Enterprise/files/ESBRuntimeLogConfig.html
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋

On 2013-5-3, at 下午1:22, sarfarajsayyad wrote:

> I removed embedded log4j jar and also log4j.properties file from
> src/main/resources.
> Now its working fine and logged DEBUG messages to servicemix.log file for my
> bundle.
> 
> *Is there any way to log all those my bundle messages to separate file say
> mybundle.log instead of logging to servicemix.log file?* 
> 
> 
> 
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/How-to-change-logging-level-for-particular-component-in-servicemix-tp5716633p5716642.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to