Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Server console reports meaningless message times

#3

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.

Reported by Christopher Stawarz · April 29th, 2010 @ 01:50 PM

State: resolved
Milestone: 0.4.4
Assigned to: Christopher Stawarz Christopher Stawarz

Activity

  1. Christopher Stawarz
  2. Christopher Stawarz
    Christopher Stawarz
    • Milestone set to 0.4.4
    • Assigned user set to Christopher Stawarz

    May 11th, 2010 @ 03:17 PM

  3. Christopher Stawarz
    Christopher Stawarz
    • 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()).

    May 20th, 2010 @ 02:40 PM

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.