mirror of
https://github.com/openai/codex.git
synced 2026-11-13 14:46:14 +00:00
feat: adding thread ID to logs + filter in the client (#10150)
This commit is contained in:
1 parent
b654b7a9ae
commit
89c5f3c4d4
8 files changed
+203
-42
No files matched your search
@@ -214,7 +214,7 @@ FROM threads
|
||||
}
|
||||
|
||||
let mut builder = QueryBuilder::<Sqlite>::new(
|
||||
"INSERT INTO logs (ts, ts_nanos, level, target, message, module_path, file, line) ",
|
||||
"INSERT INTO logs (ts, ts_nanos, level, target, message, thread_id, module_path, file, line) ",
|
||||
);
|
||||
builder.push_values(entries, |mut row, entry| {
|
||||
row.push_bind(entry.ts)
|
||||
@@ -222,6 +222,7 @@ FROM threads
|
||||
.push_bind(&entry.level)
|
||||
.push_bind(&entry.target)
|
||||
.push_bind(&entry.message)
|
||||
.push_bind(&entry.thread_id)
|
||||
.push_bind(&entry.module_path)
|
||||
.push_bind(&entry.file)
|
||||
.push_bind(entry.line);
|
||||
|
||||
Reference in new issue
Block a user