Yes, it is a singleton, inasmuch as it uses a static member for the default
hierarchy.
I'm uncertain as to the ramifications in a clustered environment.
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 05, 2001 3:28 PM
> To: LOG4J Users Mailing List
> Subject: Re: Is Catgory object is Singleton ? How can I log messages
> into a same filefrom different JVMs ?
>
>
>
> Yes Jin,
> I hope so. That's what my question. You know if it is across
> different JVMs
> in distributed applications
> like EJBs, Servlets and two EJB instances of same type from different
> process try to log to a same
> file, what will happen.
>
> Many people say we can use JMSAppender, but I don't want to
> use it. I want
> to use SocketAppender
> for EJB logging. Is it possible for EJBs across different JVMs to log,
> because there is a problem of lack
> of synchronization.
>
> One more question is I want to know whether category object
> is singleton or
> not. It looks like singleton.
> I am a new user for log4J, please clarify me. Because if it
> is singleton,
> it is going to add some more
> problems. We have nearly 5 different applications across different
> Application servers and EJB container.
> So if it is singleton, it is going to add more problems. Isn't.
>
> Thankyou
> kanagavisu
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]