Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [stellation-res] LogEntry timestamp fix (#34180)

----- Original Message ----- 
From: "Jim Wright - IBM Research" <jwright@xxxxxxxxxxxxxx>
To: <stellation-res@xxxxxxxxxxxxxxx>
Sent: Monday, March 10, 2003 9:37 AM
Subject: [stellation-res] LogEntry timestamp fix (#34180)


> There's one point I forgot to mention yesterday, which I'd
> like feedback on:
> 
> The current fix is not backwards-compatible with existing
> log.xml files.  Reason: at least two different "time" attribute
> formats have been used prior to the current usage, and I choose
> not to write conversion code.  (As far as I know, no one is using
> a Stellation db which cannot be rebuilt fairly easily.)
> 
> If anyone has existing log.xml files they want to preserve,
> I can write code to do "best-effort" conversion for LogEntries
> lacking a "timestamp" attribute. (It would attempt to parse
> the "time" attribute, iterating through different SimpleDateFormat
> parse formats until parsing succeeded or the list (4-6 entries) of
> parse formats was exhausted.)
> 
> Mark has just verified the fix, so I'm going to check it in.
> If there's need to amend the fix for legacy log.xml files, I can do
> that.
> 
> Comments?
> 
> Regards
> - Jim
No problems from me.

Regards

Jonathan



Back to the top