Skip to content

fix: route severe logs to stderr#134

Merged
kvz merged 1 commit into
mainfrom
sev-stream-routing
May 28, 2026
Merged

fix: route severe logs to stderr#134
kvz merged 1 commit into
mainfrom
sev-stream-routing

Conversation

@kvz
Copy link
Copy Markdown
Member

@kvz kvz commented May 28, 2026

Why

The full npm-consumer playground run from /tmp/foo showed that severe logs (ALERT/CRIT/ERR/WARN) were going to stdout while verbose logs went to stderr. That split does not match the stream option names or typical CLI behavior.

What changed

  • Route WARN and more severe logs/events to stderr.
  • Keep NOTICE, INFO, DEBUG, and TRACE on stdout.
  • Clarify the public stream option comments.
  • Add regression coverage for formatted log and event stream routing.
  • Version @transloadit/sev-logger to 1.0.4 with a changelog entry.

Verification

  • corepack yarn install --immutable
  • corepack yarn dedupe --check
  • corepack yarn check
  • corepack yarn npm audit --recursive --all
  • git diff --check

@kvz kvz merged commit d68f421 into main May 28, 2026
2 checks passed
@kvz kvz deleted the sev-stream-routing branch May 28, 2026 15:33
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