Hi
When upping the log level on Aries Blueprint, one sees some puzzling debug logs
when a bundle is installed:
2014-11-04 20:46:29,805 | DEBUG | FelixStartLevel | BundleManager
| .features.internal.BundleManager 148 | 20 -
org.apache.karaf.features.core - 3.0.2 | Installing bundle
mvn:org.apache.camel.karaf/camel-karaf-commands/2.14.0
2014-11-04 20:46:29,836 | DEBUG | FelixStartLevel | BlueprintExtender
| rint.container.BlueprintExtender 291 | 15 -
org.apache.aries.blueprint.core - 1.4.1 | Starting BlueprintContainer
destruction process for bundle org.apache.camel.karaf.camel-karaf-commands
2014-11-04 20:46:29,837 | DEBUG | FelixStartLevel | BlueprintExtender
| rint.container.BlueprintExtender 313 | 15 -
org.apache.aries.blueprint.core - 1.4.1 | Not a blueprint bundle or destruction
of BlueprintContainer already finished for
org.apache.camel.karaf.camel-karaf-commands.
2014-11-04 20:46:29,837 | DEBUG | FelixStartLevel | BlueprintExtender
| rint.container.BlueprintExtender 291 | 15 -
org.apache.aries.blueprint.core - 1.4.1 | Starting BlueprintContainer
destruction process for bundle org.apache.camel.karaf.camel-karaf-commands
2014-11-04 20:46:29,837 | DEBUG | FelixStartLevel | BlueprintExtender
| rint.container.BlueprintExtender 313 | 15 -
org.apache.aries.blueprint.core - 1.4.1 | Not a blueprint bundle or destruction
of BlueprintContainer already finished for
org.apache.camel.karaf.camel-karaf-commands.
2014-11-04 20:46:29,838 | DEBUG | FelixStartLevel |
camel-karaf-commands | ? ? | 142
- org.apache.camel.karaf.camel-karaf-commands - 2.14.0 | BundleEvent INSTALLED
- org.apache.camel.karaf.camel-karaf-commands
I'd expect some debug logs about creating the BP container, but instead it
tells me (twice?) about destroying it.
The same 'destruction' messages re-appear when the bundle is resolved.
It may be a very minor issue, but it certainly is confusing.
Martin
PS: The clarifying debug logs (about creating beans, etc) show up when the
bundle is started.