rleland 2003/09/08 20:49:29 Modified: src/share/org/apache/struts/taglib/html MessagesTag.java Log: Bug#: 23005 reported by [EMAIL PROTECTED] Handle Logging error message when keys or bundles are missing, in common place TagUtil and not in tag itself. Revision Changes Path 1.22 +4 -17 jakarta-struts/src/share/org/apache/struts/taglib/html/MessagesTag.java Index: MessagesTag.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/MessagesTag.java,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- MessagesTag.java 19 Aug 2003 23:38:24 -0000 1.21 +++ MessagesTag.java 9 Sep 2003 03:49:29 -0000 1.22 @@ -93,11 +93,6 @@ MessageResources.getMessageResources(Constants.Package + ".LocalStrings"); /** - * Commons Logging instance. - */ - private static final Log log = LogFactory.getLog(MessagesTag.class); - - /** * Iterator of the elements of this error collection, while we are actually * running. */ @@ -263,14 +258,6 @@ pageContext.setAttribute(id, msg); } else { pageContext.removeAttribute(id); - - // log missing key to ease debugging - if (log.isDebugEnabled()) { - log.debug( - messageResources.getMessage( - "messageTag.resources", - report.getKey())); - } } if (header != null && header.length() > 0) {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]