felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r734721 - /felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/OsgiManager.java
Date Thu, 15 Jan 2009 14:35:25 GMT
Author: fmeschbe
Date: Thu Jan 15 06:35:24 2009
New Revision: 734721

URL: http://svn.apache.org/viewvc?rev=734721&view=rev
Log:
FELIX-882 Replace three uses of the servlet context logger by
the Logger.

Modified:
    felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/OsgiManager.java

Modified: felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/OsgiManager.java
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/OsgiManager.java?rev=734721&r1=734720&r2=734721&view=diff
==============================================================================
--- felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/OsgiManager.java
(original)
+++ felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/OsgiManager.java
Thu Jan 15 06:35:24 2009
@@ -250,7 +250,7 @@
             }
             catch ( Throwable t )
             {
-                log( "Failed to instantiate plugin " + pluginClassName + ". Reason: " + t
);
+                log.log( LogService.LOG_INFO, "Failed to instantiate plugin " + pluginClassName
+ ". Reason: " + t );
             }
         }
 
@@ -368,11 +368,11 @@
                 }
                 catch ( IOException ioe )
                 {
-                    this.log( ioe.getMessage(), ioe );
+                    log.log( LogService.LOG_WARNING, ioe.getMessage(), ioe );
                 }
                 catch ( ServletException se )
                 {
-                    this.log( se.getMessage(), se.getRootCause() );
+                    log.log( LogService.LOG_WARNING, se.getMessage(), se.getRootCause() );
                 }
 
                 // maybe overwrite redirect



Mime
View raw message