From 6d42daa4a1f36394ab869c79bb8d62a8409e486a Mon Sep 17 00:00:00 2001 From: kkolinko Date: Wed, 15 Jun 2011 14:48:11 +0000 Subject: [PATCH] Add to the logging.properties file a sample configuration setting for enabling debug messages in TldLocationsCache. Slightly improve the messages printed by TldLocationsCache. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1136073 13f79535-47bb-0310-9956-ffa450edef68 --- conf/logging.properties | 3 +++ java/org/apache/jasper/resources/LocalStrings.properties | 4 ++-- webapps/docs/changelog.xml | 8 ++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/conf/logging.properties b/conf/logging.properties index 9e5eb1aab..76c9512b2 100644 --- a/conf/logging.properties +++ b/conf/logging.properties @@ -59,3 +59,6 @@ org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].ha # For example, set the org.apache.catalina.util.LifecycleBase logger to log # each component that extends LifecycleBase changing state: #org.apache.catalina.util.LifecycleBase.level = FINE + +# To see debug messages in TldLocationsCache, uncomment the following line: +#org.apache.jasper.compiler.TldLocationsCache.level = FINE diff --git a/java/org/apache/jasper/resources/LocalStrings.properties b/java/org/apache/jasper/resources/LocalStrings.properties index 3939af660..e9c0766e5 100644 --- a/java/org/apache/jasper/resources/LocalStrings.properties +++ b/java/org/apache/jasper/resources/LocalStrings.properties @@ -490,5 +490,5 @@ jsp.message.jsp_unload_check=Checking JSPs for unload in context [{0}], JSP coun xmlParser.skipBomFail=Failed to skip BOM when parsing XML input stream -jsp.tldCache.noTldInJar=No TLD files were found in [{0}]. Consider adding the JAR to to the tomcat.util.scan.DefaultJarScanner.jarsToSkip in CATALINA_BASE/catalina.properties -jsp.tldCache.noTldSummary=At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned where no TLDs were found. Skipping JAR scanning can improve startup time and JSP compilation time. \ No newline at end of file +jsp.tldCache.noTldInJar=No TLD files were found in [{0}]. Consider adding the JAR to the tomcat.util.scan.DefaultJarScanner.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file. +jsp.tldCache.noTldSummary=At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 60e206827..85d59e4ef 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -75,6 +75,14 @@ + + + + Improve the message printed by TldLocationsCache and add configuration + example to the logging.properties file. (kkolinko) + + + -- 2.11.0