felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sfre...@apache.org
Subject svn commit: r450492 - /incubator/felix/trunk/mosgi.jmx.remotelogger/src/main/java/org/apache/felix/mosgi/jmx/remotelogger/Logger.java
Date Wed, 27 Sep 2006 16:10:52 GMT
Author: sfrenot
Date: Wed Sep 27 09:10:51 2006
New Revision: 450492

URL: http://svn.apache.org/viewvc?view=rev&rev=450492
Log:
FELIX-151

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


Modified:
    incubator/felix/trunk/mosgi.jmx.remotelogger/src/main/java/org/apache/felix/mosgi/jmx/remotelogger/Logger.java

Modified: incubator/felix/trunk/mosgi.jmx.remotelogger/src/main/java/org/apache/felix/mosgi/jmx/remotelogger/Logger.java
URL: http://svn.apache.org/viewvc/incubator/felix/trunk/mosgi.jmx.remotelogger/src/main/java/org/apache/felix/mosgi/jmx/remotelogger/Logger.java?view=diff&rev=450492&r1=450491&r2=450492
==============================================================================
--- incubator/felix/trunk/mosgi.jmx.remotelogger/src/main/java/org/apache/felix/mosgi/jmx/remotelogger/Logger.java
(original)
+++ incubator/felix/trunk/mosgi.jmx.remotelogger/src/main/java/org/apache/felix/mosgi/jmx/remotelogger/Logger.java
Wed Sep 27 09:10:51 2006
@@ -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");
     }



Mime
View raw message