Author: shane.bryzak(a)jboss.com
Date: 2008-11-05 21:03:32 -0500 (Wed, 05 Nov 2008)
New Revision: 9512
Modified:
trunk/src/main/org/jboss/seam/Component.java
trunk/src/main/org/jboss/seam/core/Events.java
Log:
JBSEAM-2232
Modified: trunk/src/main/org/jboss/seam/Component.java
===================================================================
--- trunk/src/main/org/jboss/seam/Component.java 2008-11-05 23:45:22 UTC (rev 9511)
+++ trunk/src/main/org/jboss/seam/Component.java 2008-11-06 02:03:32 UTC (rev 9512)
@@ -1483,7 +1483,7 @@
public void initialize(Object bean) throws Exception
{
- if ( log.isDebugEnabled() ) log.debug("initializing new instance of: " +
name);
+ if ( log.isTraceEnabled() ) log.trace("initializing new instance of: " +
name);
injectLog(bean);
@@ -1500,7 +1500,7 @@
setFieldValue(bean, field, field.getName(), initialValue );
}
- if ( log.isDebugEnabled() ) log.debug("done initializing: " + name);
+ if ( log.isTraceEnabled() ) log.trace("done initializing: " + name);
}
/**
@@ -2074,8 +2074,8 @@
public Object newInstance()
{
- if (log.isDebugEnabled()) {
- log.debug("instantiating Seam component: " + name);
+ if (log.isTraceEnabled()) {
+ log.trace("instantiating Seam component: " + name);
}
Object instance;
Modified: trunk/src/main/org/jboss/seam/core/Events.java
===================================================================
--- trunk/src/main/org/jboss/seam/core/Events.java 2008-11-05 23:45:22 UTC (rev 9511)
+++ trunk/src/main/org/jboss/seam/core/Events.java 2008-11-06 02:03:32 UTC (rev 9512)
@@ -59,7 +59,7 @@
public void raiseEvent(String type, Object... parameters)
{
//TODO: find a way to map event parameters to params in an EL-defined listener
- log.debug("Processing event:" + type);
+ log.trace("Processing event:" + type);
List<Init.ObserverMethodExpression> list =
Init.instance().getObserverMethodExpressions(type);
if (list!=null)
{