Skip to content

Fix default logger writing os.Stdout to os.Stderr#95

Open
yutongJiang wants to merge 1 commit into
google:mainfrom
yutongJiang:log-to-stderr
Open

Fix default logger writing os.Stdout to os.Stderr#95
yutongJiang wants to merge 1 commit into
google:mainfrom
yutongJiang:log-to-stderr

Conversation

@yutongJiang

Copy link
Copy Markdown

The first call to logger.Init() set up the config, and subsequent calls in other packages simply return the same logger. This library runs init() firstly, which makes our whole project log to stdout by default and won't be able to change that.

@google-cla

google-cla Bot commented Mar 30, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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