Add to the logging.properties file a sample configuration setting
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 15 Jun 2011 14:48:11 +0000 (14:48 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 15 Jun 2011 14:48:11 +0000 (14:48 +0000)
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
java/org/apache/jasper/resources/LocalStrings.properties
webapps/docs/changelog.xml

index 9e5eb1a..76c9512 100644 (file)
@@ -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
index 3939af6..e9c0766 100644 (file)
@@ -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.
index 60e2068..85d59e4 100644 (file)
       </fix>
     </changelog>
   </subsection>
+  <subsection name="Jasper">
+    <changelog>
+      <update>
+        Improve the message printed by TldLocationsCache and add configuration
+        example to the <code>logging.properties</code> file. (kkolinko)
+      </update>
+    </changelog>
+  </subsection>
   <subsection name="Cluster">
     <changelog>
       <fix>