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

Log error and critical messages to stderr instead of stdout #869

Closed
confluence opened this issue Jul 15, 2021 · 0 comments · Fixed by #1005
Closed

Log error and critical messages to stderr instead of stdout #869

confluence opened this issue Jul 15, 2021 · 0 comments · Fixed by #1005
Assignees

Comments

@confluence
Copy link
Collaborator

Currently all messages logged to the console are written to stdout. It would be more consistent with *NIX conventions to use stderr correctly (and make it slightly easier to determine programmatically whether the backend has crashed, e.g. from the scripting wrapper). This spdlog issue discusses this exact use case and provides a suggested solution (a custom sink).

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 a pull request may close this issue.

3 participants