FELIX-151

Correction of a little bug, all logs were INFO leveled.



git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@450492 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/mosgi.jmx.remotelogger/src/main/java/org/apache/felix/mosgi/jmx/remotelogger/Logger.java b/mosgi.jmx.remotelogger/src/main/java/org/apache/felix/mosgi/jmx/remotelogger/Logger.java
index 8f74cfa..51bb39e 100644
--- a/mosgi.jmx.remotelogger/src/main/java/org/apache/felix/mosgi/jmx/remotelogger/Logger.java
+++ b/mosgi.jmx.remotelogger/src/main/java/org/apache/felix/mosgi/jmx/remotelogger/Logger.java
@@ -227,7 +227,7 @@
     ServiceReference lsn=bc.getServiceReference(LogService.class.getName());
     if (lsn!=null){
       LogService ls=(LogService)bc.getService(lsn);
-      ls.log(LogService.LOG_INFO, message);
+      ls.log(level, message);
     }else{
       System.out.println("ERROR : Logger.start : No service "+LogService.class.getName()+" is present");
     }