Bug 38015 - org.apache.jasper.compiler.TagLibraryInfoImpl logs warnings for valid <tag-file> elements
org.apache.jasper.compiler.TagLibraryInfoImpl logs warnings for valid <tag-fi...
Status: RESOLVED FIXED
Product: Tomcat 5
Classification: Unclassified
Component: Jasper
Nightly Build
All All
: P2 minor (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2005-12-22 21:09 UTC by Andrew Houghton
Modified: 2006-04-13 12:13 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.