RE: org.apache.log4j.spi.LoggingEvent

2003-06-24 Thread Ceki Gülcü
At 07:50 PM 6/24/2003 +0100, you wrote: Thanks Mark et al, I shall look at all the suggestions. Regarding immutability what was more of an issue for us was that although the LoggingEvent is currently immutable, we want to protect ourselves in case any future versions of LoggingEvent are not. I am

RE: org.apache.log4j.spi.LoggingEvent

2003-06-24 Thread Damian ONeill [AePONA]
Original Message- > > From: Damian ONeill [AePONA] [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, June 24, 2003 6:36 AM > > To: Log4J Users List > > Subject: Re: org.apache.log4j.spi.LoggingEvent > > > > > > Thanks Steven, this will certainly solve my issue. D

RE: org.apache.log4j.spi.LoggingEvent

2003-06-24 Thread Mark Womack
4, 2003 6:36 AM > To: Log4J Users List > Subject: Re: org.apache.log4j.spi.LoggingEvent > > > Thanks Steven, this will certainly solve my issue. Do you > have any idea > of how performant this method is? > > I am surprised that nobody else has asked for this t

RE: org.apache.log4j.spi.LoggingEvent

2003-06-24 Thread Ebersole, Steven
8:36 AM To: Log4J Users List Subject: Re: org.apache.log4j.spi.LoggingEvent Thanks Steven, this will certainly solve my issue. Do you have any idea of how performant this method is? I am surprised that nobody else has asked for this type of functionality before in LoggingEvent. Is there a c

Re: org.apache.log4j.spi.LoggingEvent

2003-06-24 Thread Damian ONeill [AePONA]
econstitution" ); } } -Original Message- From: Damian ONeill [AePONA] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 3:19 AM To: Log4J Users List Subject: Re: org.apache.log4j.spi.LoggingEvent We are using log4j for logging events to an event manager via the socket app

Re: org.apache.log4j.spi.LoggingEvent

2003-06-24 Thread Ceki Gülcü
Damian, The LoggingEvent class is intended to be immutable. At 02:25 PM 6/24/2003 +0100, you wrote: Thanks Ceki, but I cannot guarantee that adapter subclasses will not modify the LoggingEvent, as we are allowing 3rd Parties (not under our control) the ability to create Adapter subclasses. -- C

Re: org.apache.log4j.spi.LoggingEvent

2003-06-24 Thread Damian ONeill [AePONA]
Thanks Ceki, but I cannot guarantee that adapter subclasses will not modify the LoggingEvent, as we are allowing 3rd Parties (not under our control) the ability to create Adapter subclasses. Ceki Gülcü wrote: At 09:18 AM 6/24/2003 +0100, you wrote: We are using log4j for logging events to an e

Re: org.apache.log4j.spi.LoggingEvent

2003-06-24 Thread Ceki Gülcü
At 09:18 AM 6/24/2003 +0100, you wrote: We are using log4j for logging events to an event manager via the socket appender. The event manager is running in a separate process and uses a object input stream to build the received LoggingEvent. The Event Manager has a internal event chain that eve

RE: org.apache.log4j.spi.LoggingEvent

2003-06-24 Thread Ebersole, Steven
quot;Unable to locate class on reconstitution" ); } } -Original Message- From: Damian ONeill [AePONA] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 3:19 AM To: Log4J Users List Subject: Re: org.apache.log4j.spi.LoggingEvent We are using log4j for logging events to an event manager via the so

RE: org.apache.log4j.spi.LoggingEvent

2003-06-24 Thread Shapira, Yoav
nt: Monday, June 23, 2003 6:35 PM >To: 'Log4J Users List' >Subject: RE: org.apache.log4j.spi.LoggingEvent > >I do know that LoggingEvents are serializable... one way (albeit if >there are other mechanisms I'd prefer them) to clone an instance would >be to

Re: org.apache.log4j.spi.LoggingEvent

2003-06-24 Thread Damian ONeill [AePONA]
We are using log4j for logging events to an event manager via the socket appender. The event manager is running in a separate process and uses a object input stream to build the received LoggingEvent. The Event Manager has a internal event chain that event sinks can register with to receive t

RE: org.apache.log4j.spi.LoggingEvent

2003-06-23 Thread Scott Heaberlin
I do know that LoggingEvents are serializable... one way (albeit if there are other mechanisms I'd prefer them) to clone an instance would be to serialize then deserialize... -Scott Heaberlin - To unsubscribe, e-mail: [EMAIL P

Re: org.apache.log4j.spi.LoggingEvent

2003-06-23 Thread Ceki Gülcü
Damian, LoggingEvent is not clonable and this has not been a problem this far. Can you please explain what you are trying to accomplish by cloning LoggingEvent objects? At 04:38 PM 6/23/2003 +, you wrote: Is there anyone on this list that can answer this question? or is the the developers l

RE: org.apache.log4j.spi.LoggingEvent

2003-06-23 Thread Shapira, Yoav
Howdy, FYI, most if not all the developers also check out this list. So if anyone really felt like answering your question, they probably would have ;) >>Can you please suggest the best way to clone a LoggingEvent? Conceptually, LoggingEvents are unique. You don't want to clone one, as that's

RE: org.apache.log4j.spi.LoggingEvent

2003-06-23 Thread Phillip Qin
Why do you want to clone? -Original Message- From: Damian ONeill [AePONA] [mailto:[EMAIL PROTECTED] Sent: June 23, 2003 12:38 PM To: [EMAIL PROTECTED] Subject: Re: org.apache.log4j.spi.LoggingEvent Is there anyone on this list that can answer this question? or is the the developers

Re: org.apache.log4j.spi.LoggingEvent

2003-06-23 Thread Damian ONeill [AePONA]
Is there anyone on this list that can answer this question? or is the the developers list more suitable? Thanks. Damian ONeill [AePONA] wrote: Can you please suggest the best way to clone a LoggingEvent? Thanks in advance, Damian ONeill. -- [EMAIL PROTECTED] Damian O'Neill Software Engineer