FELIX-2065 - BootstrapLogManager doesn't load etc/org.ops4j.pax.logging.cfg file


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@908589 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/karaf/main/src/main/java/org/apache/felix/karaf/main/BootstrapLogManager.java b/karaf/main/src/main/java/org/apache/felix/karaf/main/BootstrapLogManager.java
index f931feb..c31af9c 100644
--- a/karaf/main/src/main/java/org/apache/felix/karaf/main/BootstrapLogManager.java
+++ b/karaf/main/src/main/java/org/apache/felix/karaf/main/BootstrapLogManager.java
@@ -52,7 +52,7 @@
             // Make a best effort to log to the default file appender configured for log4j
             FileInputStream fis = null;
             try {
-                fis = new FileInputStream("../etc/org.ops4j.pax.logging.cfg");
+                fis = new FileInputStream(System.getProperty("karaf.base") + "/etc/org.ops4j.pax.logging.cfg");
                 props.load(fis);
             } catch (IOException e) {
                 props.setProperty("log4j.appender.out.file", "${karaf.base}/data/log/karaf.log");