commit | 4de2aecda0bef93bdfb0239d20671592be6a1b1e | [log] [tgz] |
---|---|---|
author | Stephane Frenot <sfrenot@apache.org> | Wed Sep 27 16:10:51 2006 +0000 |
committer | Stephane Frenot <sfrenot@apache.org> | Wed Sep 27 16:10:51 2006 +0000 |
tree | e55ae67df8143cabba4d304dce1d881df6245330 | |
parent | 864dc6630dd1720ef4219bc1b9c729d71e825bd0 [diff] |
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"); }