]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.osgiboot/src/main/java/org/argeo/slc/osgiboot/OsgiBoot.java
Improve OSGI Boot logging
[gpl/argeo-slc.git] / runtime / org.argeo.slc.osgiboot / src / main / java / org / argeo / slc / osgiboot / OsgiBoot.java
index cc4cb40e775ec34f19fae185c47093af69299d60..325d3602840ea6be94fa0cacc4200c55b3219dec 100644 (file)
@@ -85,6 +85,8 @@ public class OsgiBoot {
                        } catch (BundleException e) {
                                warn("Could not install bundle from " + url + ": "
                                                + e.getMessage());
+                               if (debug)
+                                       e.printStackTrace();
                        }
                }
 
@@ -175,6 +177,8 @@ public class OsgiBoot {
                                } catch (Exception e) {
                                        warn("Bundle " + symbolicName + " cannot be started: "
                                                        + e.getMessage());
+                                       if (debug)
+                                               e.printStackTrace();
                                        // was found even if start failed
                                        notFoundBundles.remove(symbolicName);
                                }