|How to detect log4j config file in bundle fragment [message #760465]
||Fri, 02 December 2011 13:28
| Barbara Rosi-Schwartz
Registered: July 2009
I am trying to OSGi-ify a third party project. This project depends on log4j for logging and I find that the log4j configuration file is not detected at runtime, which, after a little research, I discover is a typical problem with OSGi.
I have therefore created a fragment whose host bundle is com.springsource.org.apache.log4j and which contains the log4j config file under its META-INF directory. How do I make sure that the fragment is started by Virgo?
Is this even the right approach?
[Updated on: Fri, 02 December 2011 13:30]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.06815 seconds