Skip to content

[Backend]: add configurable tracing file writer - #691

Open
pminmic wants to merge 2 commits into
new-backendfrom
backend/trace
Open

pminmic wants to merge 2 commits into
new-backendfrom
backend/trace

Conversation

@pminmic

@pminmic pminmic commented Dec 6, 2026

Copy link
Copy Markdown

Add a trace module behind the existing trace feature to support background file output through tracing-appender.

TraceConfig specifies the destination path and queue overflow behavior. open() returns the writer and its guard; callers configure the subscriber, formatting and filters, and retain the guard until shutdown.

Validation:

  • cargo test -p software-core --features trace --offline trace::
  • Verifies JSONL output, level filtering and buffered writes on guard drop.

This branch has not been deployed

No deployments
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