mirror of
https://github.com/openai/codex.git
synced 2026-04-30 11:21:34 +03:00
feat: reduce span exposition (#10171)
This only avoids the creation of duplicates spans
This commit is contained in:
@@ -244,7 +244,7 @@ FROM threads
|
||||
/// Query logs with optional filters.
|
||||
pub async fn query_logs(&self, query: &LogQuery) -> anyhow::Result<Vec<LogRow>> {
|
||||
let mut builder = QueryBuilder::<Sqlite>::new(
|
||||
"SELECT id, ts, ts_nanos, level, message, thread_id, file, line FROM logs WHERE 1 = 1",
|
||||
"SELECT id, ts, ts_nanos, level, target, message, thread_id, file, line FROM logs WHERE 1 = 1",
|
||||
);
|
||||
push_log_filters(&mut builder, query);
|
||||
if query.descending {
|
||||
|
||||
Reference in New Issue
Block a user