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

Consider logging to stderr instead of stdout #1116

Open
fknorr opened this issue Aug 29, 2023 · 0 comments · May be fixed by #1267
Open

Consider logging to stderr instead of stdout #1116

fknorr opened this issue Aug 29, 2023 · 0 comments · May be fixed by #1267
Assignees

Comments

@fknorr
Copy link
Contributor

fknorr commented Aug 29, 2023

Open SYCL currently prints warnings and errors to stdout. These lines mix with any output the user decides to print as part of normal program execution, and any script that wants to ingest the output of an Open SYCL program must manually strip out any log lines first.

Even though logging can be disabled through HIPSYCL_DEBUG_LEVEL, I would suggest to write log output to stderr instead, so that warnings can be seen even while output is captured.

@normallytangent normallytangent self-assigned this Nov 22, 2023
@normallytangent normallytangent linked a pull request Nov 29, 2023 that will close this issue
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.

2 participants