This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 9a784139a0 Revert to logging scan results at debug level
9a784139a0 is described below
commit 9a784139a09e4d037094948604e9bb378c45eeb8
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Aug 6 10:58:16 2024 +0100
Revert to logging scan results at debug level
---
java/org/apache/jasper/servlet/TldScanner.java | 24 ++++++++++++------------
webapps/docs/changelog.xml | 8 ++++++++
2 files changed, 20 insertions(+), 12 deletions(-)
diff --git a/java/org/apache/jasper/servlet/TldScanner.java
b/java/org/apache/jasper/servlet/TldScanner.java
index f38340eb25..e20be33b3c 100644
--- a/java/org/apache/jasper/servlet/TldScanner.java
+++ b/java/org/apache/jasper/servlet/TldScanner.java
@@ -243,12 +243,12 @@ public class TldScanner {
}
}
if (found) {
- if (log.isTraceEnabled()) {
-
log.trace(Localizer.getMessage("jsp.tldCache.tldInResourcePath", startPath));
+ if (log.isDebugEnabled()) {
+
log.debug(Localizer.getMessage("jsp.tldCache.tldInResourcePath", startPath));
}
} else {
- if (log.isTraceEnabled()) {
-
log.trace(Localizer.getMessage("jsp.tldCache.noTldInResourcePath", startPath));
+ if (log.isDebugEnabled()) {
+
log.debug(Localizer.getMessage("jsp.tldCache.noTldInResourcePath", startPath));
}
}
}
@@ -318,13 +318,13 @@ public class TldScanner {
}
}
if (found) {
- if (log.isTraceEnabled()) {
- log.trace(Localizer.getMessage("jsp.tldCache.tldInJar",
jarFileUrl.toString()));
+ if (log.isDebugEnabled()) {
+ log.debug(Localizer.getMessage("jsp.tldCache.tldInJar",
jarFileUrl.toString()));
}
} else {
foundJarWithoutTld = true;
- if (log.isTraceEnabled()) {
- log.trace(Localizer.getMessage(
+ if (log.isDebugEnabled()) {
+ log.debug(Localizer.getMessage(
"jsp.tldCache.noTldInJar", jarFileUrl.toString()));
}
}
@@ -374,13 +374,13 @@ public class TldScanner {
}
});
if (foundFileWithoutTld) {
- if (log.isTraceEnabled()) {
- log.trace(Localizer.getMessage("jsp.tldCache.tldInDir",
+ if (log.isDebugEnabled()) {
+ log.debug(Localizer.getMessage("jsp.tldCache.tldInDir",
file.getAbsolutePath()));
}
} else {
- if (log.isTraceEnabled()) {
- log.trace(Localizer.getMessage("jsp.tldCache.noTldInDir",
+ if (log.isDebugEnabled()) {
+ log.debug(Localizer.getMessage("jsp.tldCache.noTldInDir",
file.getAbsolutePath()));
}
}
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 280e6eecfe..f2f1182f33 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -105,6 +105,14 @@
issues do not "pop up" wrt. others).
-->
<section name="Tomcat 11.0.0-M25 (markt)" rtext="in development">
+ <subsection name="Jasper">
+ <changelog>
+ <fix>
+ Switch the <code>TldScanner</code> back to logging detailed scan
+ results at debug level rather than trace level. (markt)
+ </fix>
+ </changelog>
+ </subsection>
<subsection name="Other">
<changelog>
<add>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]