The sequenceNumber+timestamp combination makes it easy to implement equals() method for LoggingEvent.
What do you mean by "the value of sequenceCount may be slightly out of sync on different threads"?
At 10:45 PM 12/27/2004, you wrote:
I'm a bit concerned about LoggingEvent.sequenceNumber and sequenceCount. It appears from a code review that unless externally synchronized, it would be possible to end up with multiple logging events with the same sequence number since the value of sequenceCount may be slightly out of sync on different threads.
Before diving into addressing any issues around that, I'd like to know more of the motivation for adding sequence number and implementing it on LoggingEvent. I did a simple search on the mailing list and didn't find any messages that appeared to be on this topic.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Ceki G�lc�
The complete log4j manual: http://www.qos.ch/log4j/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
