On Tue, 17 Apr 2001, Sam Newman wrote:

> To get stuff into the log, you have to do the following (I'm assuming your
> in a servlet at the time!)
> 
> this.getServletContext().log("msg");
> or
> this.getServletContext().log("msg", exception);
> 
> Check the API docs for HttpServletContext for more details. As to how you
> can tailor this logging to reflect the debug level set for your context (ala
> log4j), I don't know. This works a treat in all my stuff anyway.


Damn.  Missed it by *that* much.  That's too simple.  Thank you.

Will

Reply via email to