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

Using https://api.backblazeb2.com output to stderr causing problems for automation that only expects errors and warnings on stderr #949

Closed
globau opened this issue Nov 19, 2023 · 0 comments · Fixed by #954

Comments

@globau
Copy link

globau commented Nov 19, 2023

#941 makes the very reasonable change so the Using https://api.backblazeb2.com won't interfere with JSON output; redirecting this string from stdout to stderr.

However, the fallout of this change is automation that only expects errors and warnings to be output to stderr would now report this message, in my case generating unnecessary reports of warnings. Reporting on stderr has been valuable in the past to ensure deprecation warnings are exposed, as well as any other non-fatal issue.

If you were using the logging framewok I'd propose changing the Using https://api.backblazeb2.com message to DEBUG level, however as you only have the two options and given it doesn't belong in either location perhaps the message should be dropped?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant