myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Roast (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Created: (MYFACES-246) The WARN level log statement in VariableResolverImpl.resolveVariable should be DEBUG level
Date Fri, 20 May 2005 09:47:57 GMT
The WARN level log statement in VariableResolverImpl.resolveVariable should be DEBUG level
------------------------------------------------------------------------------------------

         Key: MYFACES-246
         URL: http://issues.apache.org/jira/browse/MYFACES-246
     Project: MyFaces
        Type: Improvement
    Versions: 1.0.9 beta    
 Environment: WinXP, Pentium4, TomCat 5, MyFaces 1.0.9
    Reporter: Kevin Roast
    Priority: Minor


The WARN level log statement in VariableResolverImpl.resolveVariable should be DEBUG level.

The reason for this is that if you use DataTable or any other custom component that uses temporary
variables for binding (e.g. Row variables in a datatable) then the variables resolver will
spit out WARN level statements like this:

WARN  [VariableResolverImpl] Variable 'r' could not be resolved.

Because the variable is no longer in Scope it cannot be resolved - this fine, but the WARN
level is probably too high, it could cause a minor performance issue in large apps as the
WARN output String is always constructed with an If statement surrounding it to check the
log level.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message