You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2011/11/24 13:17:34 UTC
svn commit: r1205801 -
/myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/PageRenderer.java
Author: lofwyr
Date: Thu Nov 24 12:17:33 2011
New Revision: 1205801
URL: http://svn.apache.org/viewvc?rev=1205801&view=rev
Log:
less logging
Modified:
myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/PageRenderer.java
Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/PageRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/PageRenderer.java?rev=1205801&r1=1205800&r2=1205801&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/PageRenderer.java (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/PageRenderer.java Thu Nov 24 12:17:33 2011
@@ -169,7 +169,9 @@ public class PageRenderer extends PageRe
int clientLogSeverity = 2;
if (debugMode) {
String severity = (String) facesContext.getExternalContext().getRequestMap().get(CLIENT_DEBUG_SEVERITY);
- LOG.info("get " + CLIENT_DEBUG_SEVERITY + " = " + severity);
+ if (LOG.isDebugEnabled()) {
+ LOG.debug("get " + CLIENT_DEBUG_SEVERITY + " = " + severity);
+ }
if (severity != null) {
try {
int index = severity.indexOf(';');
@@ -249,7 +251,9 @@ public class PageRenderer extends PageRe
if (debugMode) {
boolean hideClientLogging = true;
String severity = (String) facesContext.getExternalContext().getRequestMap().get(CLIENT_DEBUG_SEVERITY);
- LOG.info("get " + CLIENT_DEBUG_SEVERITY + " = " + severity);
+ if (LOG.isDebugEnabled()) {
+ LOG.debug("get " + CLIENT_DEBUG_SEVERITY + " = " + severity);
+ }
if (severity != null) {
try {
int index = severity.indexOf(';');