Hi Raymond,

Well, I use old and good PDE (plus maven) and I can confirm and reconfirm that empirically the difference of number of lines displayed between the 2 cases is huge.

In case one, I just start the framework setting the felix.logback to auto-start. so, have no change in the default start level (4);

In case two, I set it to auto-start and and set the start level to 1.

Then, after bootstrap have occurred I copied the console text to a text editor in order to count the lines.

In case one I had 119 lines while in the case two I had 850 lines !

Investigating, when you create a run configuration normally the SCR is automatically set to have start-level 2. If we don't set the felix.logback to start before SCR then all the itens logged by SCR will be missed. And was what happened.

best regards,

Cristiano


On 07/08/2018 10:24, Raymond Auge wrote:
You don't need to use start levels at all if you place felix.logback onto the classpath of the framework. For equinox see [3] and for felix (you need the org.apache.felix.log.extension bundle installed) see [2].


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to