Sorry, I don't follow what you're saying. Are you talking about the log variable being protected, using the wrong class in getLog(), using the wrong message key?

David



From: Robert Leland <[EMAIL PROTECTED]>
Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
To: Struts Developers List <[EMAIL PROTECTED]>
Subject: Re: cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html MessagesTag.java
Date: Fri, 14 Feb 2003 13:15:55 -0500

[EMAIL PROTECTED] wrote:
       /**
  +     * Commons Logging instance.
  +     * @since Struts 1.1
  +     */
  +    protected static Log log = LogFactory.getLog(MessagesTag.class);

By sharing thge logger errors will look like they are coming
from MessageTag instead of any derived class. Additionally,
there is no way to selectively show the logging only for
the derived class.

-Rob


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to