Keep Run and Platform logs opaque

This commit is contained in:
npc0-hue
2026-09-02 12:23:16 +08:00
parent aeda833294
commit 6e614d3fa3
15 changed files with 282 additions and 20 deletions
-1
View File
@@ -1593,7 +1593,6 @@ export interface LogEntryBody {
level?: string;
line: string;
fields?: Record<string, string>;
redacted: boolean;
}
export interface LogStreamCursorRequest {
@@ -255,7 +255,7 @@ function logStream(id: string, logSessionId: string, streamKey: string, updatedA
}
function logEntry(seq: number, line: string, timestamp = `2026-08-14T00:00:0${seq}Z`): LogEntryBody {
return { seq, timestamp, line, redacted: true };
return { seq, timestamp, line };
}
function sourceRCONDispatch(status: SourceRCONCommandResponse["status"]): SourceRCONCommandResponse {