#3 ✓resolved
Christopher Stawarz

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

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.

New-ticket Create new ticket

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

People watching this ticket

Pages