On Today, Mark ([EMAIL PROTECTED]) wrote:
> 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
Well, it's a fading memory, but I seem to recall running into
it in the java:comp namespace, maybe java:comp/logger? I don't
have the namespace-snooping code here ;)
Gary
> ============================
>
> 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
> >
> >
> >
>
>
>
>
>
>
>