felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r778507 - /felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/ComponentActorThread.java
Date Mon, 25 May 2009 21:08:47 GMT
Author: fmeschbe
Date: Mon May 25 21:08:46 2009
New Revision: 778507

URL: http://svn.apache.org/viewvc?rev=778507&view=rev
Log:
Better logging: INFO log when running a task and include task descriptor
if an error occurrs running the task

Modified:
    felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/ComponentActorThread.java

Modified: felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/ComponentActorThread.java
URL: http://svn.apache.org/viewvc/felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/ComponentActorThread.java?rev=778507&r1=778506&r2=778507&view=diff
==============================================================================
--- felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/ComponentActorThread.java (original)
+++ felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/ComponentActorThread.java Mon
May 25 21:08:46 2009
@@ -81,12 +81,12 @@
             // otherwise execute the task, log any issues
             try
             {
-                Activator.log( LogService.LOG_DEBUG, null, "Running task [" + task + "]",
null );
+                Activator.log( LogService.LOG_INFO, null, "Running task: " + task, null );
                 task.run();
             }
             catch ( Throwable t )
             {
-                Activator.log( LogService.LOG_ERROR, null, "Unexpected problem executing
task", t );
+                Activator.log( LogService.LOG_ERROR, null, "Unexpected problem executing
task " + task, t );
             }
         }
     }



Mime
View raw message