myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject [myfaces-tobago] branch master updated: logging
Date Fri, 16 Oct 2020 07:07:40 GMT
This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/master by this push:
     new fcafe6c  logging
fcafe6c is described below

commit fcafe6cd5c32ccadb18e277272d28ef554c575b3
Author: Udo Schnurpfeil <udo.schnurpfeil@irian.eu>
AuthorDate: Fri Oct 16 09:07:25 2020 +0200

    logging
---
 .../tobago/internal/renderkit/renderer/SubviewRenderer.java        | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/SubviewRenderer.java
b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/SubviewRenderer.java
index 0f64930..010dbd1 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/SubviewRenderer.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/SubviewRenderer.java
@@ -30,21 +30,18 @@ import java.lang.invoke.MethodHandles;
 
 public class SubviewRenderer extends RendererBase {
 
-    private static final Logger LOG = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
+  private static final Logger LOG = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
 
   @Override
   public void encodeBegin(final FacesContext facesContext, final UIComponent component)
       throws IOException {
-    if (LOG.isInfoEnabled()) {
-      LOG.info("SSSSSSSSSSSSSSSSSSS Subview component = " + component.getClass().getName());
-    }
+    LOG.debug("Subview component = {}", component.getClass().getName());
     super.encodeBegin(facesContext, component);
   }
 
   @Override
   public void encodeEnd(final FacesContext facesContext,
                         final UIComponent component) throws IOException {
-
   }
 
 }


Mime
View raw message