Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write tracing logs to stderr #293

Open
daimond113 opened this issue Jan 8, 2025 · 0 comments
Open

Write tracing logs to stderr #293

daimond113 opened this issue Jan 8, 2025 · 0 comments

Comments

@daimond113
Copy link

The tracing subscriber uses stdout as its default output location. This means that stdout from a Lune script with RUST_LOG set will also contain those debug logs, breaking programs parsing stdout. Stderr is intended for such debug information, so writing there should be preferred. This change should be as easy as calling one method, like in the example in the docs, and should not cause any issues for consumers.

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

No branches or pull requests

1 participant