Skip to content

observability: Add session-aware log directory routing#152

Draft
stefanskoricdev wants to merge 2 commits into
mainfrom
log-to-dir
Draft

observability: Add session-aware log directory routing#152
stefanskoricdev wants to merge 2 commits into
mainfrom
log-to-dir

Conversation

@stefanskoricdev

Copy link
Copy Markdown
Contributor

No description provided.

Replace log_file/log_file_mode with log_dir/SCE_LOG_DIR across config schema, resolution, and config rendering.

Route enabled log records to append-only date/session-specific files under the configured directory while preserving stderr emission and fail-open file write diagnostics. Thread optional session IDs through logger trait methods for per-session file partitioning.

Co-authored-by: SCE <sce@crocoder.dev>
Propagate producer-native session IDs through diff-trace and conversation-trace logging. Emit dedicated database-open errors without duplicate generic diagnostics while preserving fail-open behavior.

Co-authored-by: SCE <sce@crocoder.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant