myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject [myfaces] branch master updated: reduce log
Date Sun, 04 Aug 2019 17:42:51 GMT
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 <tandraschko@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
             {


Mime
View raw message