How to detect log4j config file in bundle fragment [message #760465] |
Fri, 02 December 2011 08:28  |
Eclipse User |
|
|
|
Hello.
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?
TIA,
B.
[Updated on: Fri, 02 December 2011 08:30] by Moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04612 seconds