Bug 38015

Summary: org.apache.jasper.compiler.TagLibraryInfoImpl logs warnings for valid <tag-file> elements
Product: Tomcat 5 Reporter: Andrew Houghton <aah>
Component: JasperAssignee: Tomcat Developers Mailing List <dev>
Severity: minor    
Priority: P2    
Version: Nightly Build   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Andrew Houghton 2005-12-22 21:09:28 UTC
Couldn't find any documentation on Tomcat logging standards, but this feels like an "info" log level 
issue rather than a warning.  

The JSP 2.0 spec explicitly defines the following elements that TagLibraryInfoImpl will log warnings for 
(see section 3-18, Figure JSP.C-4):  description, display-name, icon.

Can we get the logging from createTagFileInfo() changed to INFO level, please?  There's no warning here 
-- the TLDs are strictly conforming, the fact that jasper doesn't know what to do with these means I'd 
have to raise my logging threshold, thereby potentially missing messages that actually matter.

A better option would be to explicitly check for these three elements and ignore them, thus leaving the 
log level at warning.
Comment 1 Yoav Shapira 2006-04-13 19:13:15 UTC
I've added an explicit check for these element names, so that warnings will not
be logged for them.  Thanks for reporting this.