Change formatting of Timestamp in logs to be proper javascript syntax

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Server Security
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Timestamps are currently formatted like in this optime:

       lastOpCommitted: { ts: Timestamp 1477084219000|1, t: 1 }

      This makes it so you can't just copy and paste commands from logs to use for bug repros and in adhoc tests and have to go through and rewrite the command into

      lastOpCommitted: { ts: Timestamp(1477084219,1), t: 1 }

      in this case. Considering the latter syntax is no less readable, I think it could be useful to log Timestamps in a way that javascript does not complain about.

            Assignee:
            [DO NOT USE] Backlog - Security Team
            Reporter:
            Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: