Mike, many thanks for the tip.  I found an Interface called
com.evermind.util.Logger, and a Class called com.evermind.util.LogEvent,
which seems hopeful.  But after some experimentation, I haven't found
the right JNDI lookup for returning a Logger reference -- assuming there
is one!.  If you can find the sample code I'll be grateful.

--Mark


============================

There's no standard way to do this unfortunately. There is an Orion
logger
which I was told how to use once (involves a JNDI lookup at
java:comp/env/logger or something like that) - I'll see if I can find
the
sample code.

Mike

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Mark
> Sent: Sunday, November 05, 2000 5:38 PM
> To: Orion-Interest
> Subject: writing to application.log from EJB
>
>
> Folks:
>
> How do you write to the default-application.log from an EJB?
>
> From a servlet you call getServletContext().log().  Can find anything
> analogous in EJB-Land.
>
> Thanks for your help!  (Sorry if this is documented somewhere --
> couldn't find it, if it is.)
>
> --Mark
>
>
>






Reply via email to