I'm pretty happy with the new version posted at
http://traxel.com/tools/LoggingEvent.java

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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to