summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
Diffstat (limited to 'java/sca')
-rw-r--r--java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/EquinoxHost.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/EquinoxHost.java b/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/EquinoxHost.java
index 2cdd0355de..bb53de2e5a 100644
--- a/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/EquinoxHost.java
+++ b/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/EquinoxHost.java
@@ -57,6 +57,12 @@ import org.osgi.framework.BundleContext;
*/
public class EquinoxHost {
private static Logger logger = Logger.getLogger(EquinoxHost.class.getName());
+
+ static {
+ if (getSystemProperty("osgi.debug") != null) {
+ logger.setLevel(Level.FINE);
+ }
+ }
private BundleContext bundleContext;
private Bundle launcherBundle;