Skip to content

Conversation

@seratch
Copy link
Member

@seratch seratch commented Jan 8, 2026

  • Add a closed-stream guard to _safe_debug so tracing shutdown logs do not raise “I/O operation on closed file” errors.
  • Cover the guard with a unit test to ensure debug logging is skipped when any handler’s stream is closed.

@seratch seratch added bug Something isn't working feature:tracing labels Jan 8, 2026
@seratch seratch added this to the 0.6.x milestone Jan 8, 2026
@seratch seratch merged commit 24d2767 into main Jan 8, 2026
9 checks passed
@seratch seratch deleted the logging-improvement branch January 8, 2026 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working feature:tracing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants