Timestamps for the launch-chain logs (operator request)

Every relay/console print now carries a wall-clock prefix (_StampedOut
stdout wrapper; the GUI monitor regexes use search() so the prefix is
transparent), and the pod's READY/pend lines carry wall time + tick --
post-mortems measure delays instead of guessing (the 3m40s load
reconstruction needed heartbeat-counting archaeology).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
arcattack
2026-07-22 20:10:38 -05:00
co-authored by Claude Opus 4.8
parent 224eaff5f8
commit 54fd4a4ab0
3 changed files with 41 additions and 4 deletions
+4 -2
View File
@@ -577,7 +577,8 @@ int BTTakePendingRunMissions(void)
gBTRunMissionPendCount = 0;
if (pended > 0)
DEBUG_STREAM << "[launch] load complete -- firing " << pended
<< " pended RunMission(s)" << std::endl << std::flush;
<< " pended RunMission(s) t=" << GetTickCount()
<< std::endl << std::flush;
return pended;
}
@@ -645,7 +646,8 @@ void
DEBUG_STREAM << "[launch] RunMission arrived in state "
<< (int)GetApplicationState()
<< " (still loading) -- pended until the load completes ("
<< gBTRunMissionPendCount << ")" << std::endl << std::flush;
<< gBTRunMissionPendCount << ") t=" << GetTickCount()
<< std::endl << std::flush;
return;
}
+8 -2
View File
@@ -636,8 +636,14 @@ void BTRelayNotifyReady(void)
break;
Sleep(10);
}
DEBUG_STREAM << "[launch] READY " << (done == want ? "sent" : "send FAILED")
<< " to the relay" << std::endl << std::flush;
{
SYSTEMTIME lt;
GetLocalTime(&lt);
DEBUG_STREAM << "[launch] READY " << (done == want ? "sent" : "send FAILED")
<< " to the relay at " << (int)lt.wHour << ":" << (int)lt.wMinute
<< ":" << (int)lt.wSecond << " t=" << GetTickCount()
<< std::endl << std::flush;
}
}
void BTRelayUploadMatchLog(void)