I handled this a slighly different way, and just added a log4j JSP tag that 
took a level, message, and category attributes:

  <jtime:log4j category="main" level="debug" message="w00p" />

Then the code I get an instance of the category as normal, and theres an if 
block checking the level..  works quite well, but doesn't answer your 
question...

--On Thursday, February 21, 2002 15:11:14 +0900 Joel Rees 
<[EMAIL PROTECTED]> wrote:

> Is it possible to directly instantiate a category or logger  in a jsp
> page? If so, could someone show me where to look in the docs? (I looked
> but I probbaly missed a lot.)



                                    -- \m/ --
  "...if I seem super human I have been misunderstood." (c) Dream Theater
         [EMAIL PROTECTED] - ICQ: 1934853 JID: [EMAIL PROTECTED]


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

Reply via email to