felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r1125294 - /felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/helper/BaseMethod.java
Date Fri, 20 May 2011 09:37:15 GMT
Author: fmeschbe
Date: Fri May 20 09:37:15 2011
New Revision: 1125294

URL: http://svn.apache.org/viewvc?rev=1125294&view=rev
Log:
FELIX-2926 Log an ERROR message for a missing declared method (instead
of just a DEBUG message)

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

Modified: felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/helper/BaseMethod.java
URL: http://svn.apache.org/viewvc/felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/helper/BaseMethod.java?rev=1125294&r1=1125293&r2=1125294&view=diff
==============================================================================
--- felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/helper/BaseMethod.java (original)
+++ felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/helper/BaseMethod.java Fri May
20 09:37:15 2011
@@ -119,9 +119,9 @@ abstract class BaseMethod
         else if ( m_methodRequired )
         {
             m_state = NotFound.INSTANCE;
-            getComponentManager().log( LogService.LOG_DEBUG, "{0} method [{1}] not found,
will not invoke",
+            getComponentManager().log(LogService.LOG_ERROR, "{0} method [{1}] not found;
Component will fail",
                 new Object[]
-                    { getMethodNamePrefix(), getMethodName() }, null );
+                    { getMethodNamePrefix(), getMethodName() }, null);
         }
         else
         {



Mime
View raw message