sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [sling-org-apache-sling-scripting-jsp-taglib] branch master updated: Fixed SLING-7642 to make the logging less verbose if a null adapter is specified
Date Wed, 02 May 2018 21:24:58 GMT
This is an automated email from the ASF dual-hosted git repository.

dklco pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-jsp-taglib.git


The following commit(s) were added to refs/heads/master by this push:
     new e349a7a  Fixed SLING-7642 to make the logging less verbose if a null adapter is specified
e349a7a is described below

commit e349a7a2cf9e68037ed6e223eeedebac1122db46
Author: Dan Klco <dklco@apache.org>
AuthorDate: Wed May 2 17:24:54 2018 -0400

    Fixed SLING-7642 to make the logging less verbose if a null adapter is
    specified
---
 src/main/java/org/apache/sling/scripting/jsp/taglib/AdaptToTag.java     | 2 +-
 src/main/java/org/apache/sling/scripting/jsp/taglib/SlingFunctions.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/scripting/jsp/taglib/AdaptToTag.java b/src/main/java/org/apache/sling/scripting/jsp/taglib/AdaptToTag.java
index 7213ca3..bb15828 100644
--- a/src/main/java/org/apache/sling/scripting/jsp/taglib/AdaptToTag.java
+++ b/src/main/java/org/apache/sling/scripting/jsp/taglib/AdaptToTag.java
@@ -61,7 +61,7 @@ public class AdaptToTag extends TagSupport {
 			log.debug("Saving " + adapted + " to variable " + var);
 			pageContext.setAttribute(var, adapted);
 		} else {
-			log.warn("Null adaptable specified");
+			log.debug("Null adaptable specified");
 		}
 
 		return EVAL_PAGE;
diff --git a/src/main/java/org/apache/sling/scripting/jsp/taglib/SlingFunctions.java b/src/main/java/org/apache/sling/scripting/jsp/taglib/SlingFunctions.java
index 85296fa..8e66c26 100644
--- a/src/main/java/org/apache/sling/scripting/jsp/taglib/SlingFunctions.java
+++ b/src/main/java/org/apache/sling/scripting/jsp/taglib/SlingFunctions.java
@@ -63,7 +63,7 @@ public class SlingFunctions {
 				log.error("Could not load class " + adapter, e);
 			}
 		} else {
-			log.warn("Null adaptable specified");
+			log.debug("Null adaptable specified");
 		}
 		return adapted;
 	}

-- 
To stop receiving notification emails like this one, please contact
dklco@apache.org.

Mime
View raw message