Server console reports meaningless message times
Reported by Christopher Stawarz | April 29th, 2010 @ 01:50 PM | in 0.4.4 (closed)
Messages on the server console are generated by the method messageForConsole of class MWMessageContainer (in MWorksCocoa). In that method, the displayed time stamp for the message is created via the dateWithTimeIntervalSince1970: method of NSDate. The problem is that, by default, event times aren't measured from the epoch. Rather, they're assigned the time returned by StandardClock::getCurrentTimeUS(), which returns the time interval (in microseconds) since the StandardClock instance was created (i.e. when MWServer started).
We should decide whether we want console messages to be tagged with wall clock time or time since application startup, and then change messageForConsole accordingly.
Comments and changes to this ticket
-
Christopher Stawarz May 11th, 2010 @ 03:17 PM
- Milestone set to 0.4.4
- Assigned user set to Christopher Stawarz
-
Christopher Stawarz May 20th, 2010 @ 02:40 PM
- State changed from new to resolved
Fixed in mw_cocoa commit 77f346c332e0f2ac7c9423f99f326ef86f6e4f23. Messages are now stamped with the time interval since the clock started, formatted as HH:MM:SS.fffffffff (by boost::posix_time::to_simple_string()).
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
MWorks Mac OS X/Cocoa Server GUI