You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ta...@apache.org on 2019/08/04 17:42:51 UTC

[myfaces] branch master updated: reduce log

This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 0ddfefd  reduce log
0ddfefd is described below

commit 0ddfefd02ae2cc0426d0367564448a9487f114d4
Author: Thomas Andraschko <ta...@apache.org>
AuthorDate: Sun Aug 4 19:42:42 2019 +0200

    reduce log
---
 .../java/org/apache/myfaces/application/ResourceHandlerImpl.java   | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java b/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java
index b32f2c3..40d6763 100644
--- a/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java
+++ b/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java
@@ -609,8 +609,11 @@ public class ResourceHandlerImpl extends ResourceHandler
         {
             if (isConnectionAbort(e))
             {
-                log.log(Level.INFO,"Connection was aborted while loading resource " + resourceName
-                        + " with library " + libraryName);
+                if (log.isLoggable(Level.FINE))
+                {
+                    log.log(Level.FINE, "Connection was aborted while loading resource " + resourceName
+                            + " with library " + libraryName);
+                }
             }
             else
             {