I have apache file install agent to install and start my bundles on a felix container. The file install agent installs and starts the bundles in no determinate order as all the bundles have the same bundlelevel of 1 (startlevel of the framework is also 1). My concern is specific to the SLF4J bundle, the logback bundle and my custom bundle 'A' which has the logging statements. The issue is that I am intermittently seeing the logging statements of bundle A getting logged into log file which i believe is due to logback bundle being started before SLF4J bundle sporadically. But when I change the bundle level of logback to 2 (startlevel of framework to 2) then i do consistently see the logs of bundle A in log file. This behavior makes me believe that the SLF4J bundle always needs to be started before the logback bundle but at the same time i do realize that start level should NOT be used as a way to control service startup order. This is considered a programming error in OSGi as service start orders are not guaranteed and services may come and go at will. Please help me out with the right approach to take. Thanks in advance. -- View this message in context: http://old.nabble.com/bundle-start-up-order-related-issue-tp28573308p28573308.html Sent from the Apache Felix - Users mailing list archive at Nabble.com.
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

