users@glassfish.java.net

Loading log util bundle before the rest

From: <forums_at_java.net>
Date: Thu, 7 Jul 2011 09:22:47 -0500 (CDT)

Hi,

I use glassfish 3.1 GA with felix OSGI.

I have a bundle (log4jutils) that watches log4j configuration folder and
initializes logs. Due to this, it should be loaded before the rest of my
application bundles, otherwise some bundles will not write to logs. What is
the preferred way to solve this problem? Is it correct to define it a
startlevel=0 in felix config.properties?

thank you


--
[Message sent by forum member 'okna2000']
View Post: http://forums.java.net/node/819498