On 4/3/02 11:07 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> dlr         02/04/03 08:07:33
> 
> Modified:    src/java/org/apache/velocity/servlet VelocityServlet.java
> Log:
> Changed from "properties" to "org.apache.velocity.properties" to add
> namespace protection for the global hash key INIT_PROPS_KEY.
> Introduced a private OLD_INIT_PROPS_KEY member to provide backwards
> compatibility for the deprecated "properties" key.
> 
> I'm unsure what the right way to handle the logging of a deprecation
> warning is, as the Velocity logger has not yet been initialized at the
> time we want to log the warning.  Ideas welcome.

Heh.  Your are in the servlet, so you could just fire into the servlet log.

Also, the Velocity servlet could / should be able to accept and hold log
messages until the real logger gets configured.

The only problem is that if there is a failure in that part - I think the
safest is to just babble to the servlet log.

Oh, btw, icky comment style :)

-- 
Geir Magnusson Jr.                                     [EMAIL PROTECTED]
System and Software Consulting
"We will be judged not by the monuments we build, but by the monuments we
destroy" - Ada Louise Huxtable


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

Reply via email to