logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Bushman <...@traxel.com>
Subject Re: LoggingEvent Serialization
Date Mon, 19 Nov 2001 04:19:52 GMT
I'm pretty happy with the new version posted at

It's now reading 1.1.3 and 1.2, and deserialization
has been refactored to a satisfactory level.

Known Issues:

 - It has not been rigorously tested.

 - startTime is static, so when you serialize,
   then compare startTime to timeStamp you get
   a meaningless number (startTime is coming
   from the server, timeStamp is coming from
   the client). This could be solved by making
   startTime an instance parameter, and initializing
   it to application start time in the constructor
   (have a class parameter systemStartTime).
   Then readObject could simply overwrite the
   instance parameter with the serialized value.

   This is, of course, assuming that the objective
   is to be able to tell how long into it's life
   the application was when the log was generated.

To unsubscribe, e-mail:   <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>

View raw message