You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2012/01/30 15:06:38 UTC
svn commit: r1237661 -
/myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewRoot.java
Author: lu4242
Date: Mon Jan 30 14:06:37 2012
New Revision: 1237661
URL: http://svn.apache.org/viewvc?rev=1237661&view=rev
Log:
MYFACES-3266 [perf] [concurrency] check correct logger creation
Modified:
myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewRoot.java
Modified: myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewRoot.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewRoot.java?rev=1237661&r1=1237660&r2=1237661&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewRoot.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/component/UIViewRoot.java Mon Jan 30 14:06:37 2012
@@ -474,7 +474,7 @@ public class UIViewRoot extends UICompon
catch (Exception e)
{
// following the spec we have to swallow the exception
- logger.log(Level.SEVERE, "Exception while processing phase listener: " + e.getMessage(), e);
+ _getLogger().log(Level.SEVERE, "Exception while processing phase listener: " + e.getMessage(), e);
}
}
@@ -909,7 +909,7 @@ public class UIViewRoot extends UICompon
catch (Throwable t)
{
beforePhaseSuccess[i + 1] = false; // redundant - for clarity
- logger.log(Level.SEVERE, "An Exception occured while processing the " +
+ _getLogger().log(Level.SEVERE, "An Exception occured while processing the " +
"beforePhase method of PhaseListener " + phaseListener +
" in Phase " + phaseId, t);
return context.getResponseComplete() ||