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

StreamLogWriter: Provide (no-op) close method. #10884

Merged
merged 2 commits into from
Oct 20, 2020

Conversation

mjpieters
Copy link
Contributor

Some contexts try to close their reference to the stderr stream at logging shutdown, this ensures these don't break.

closes: #10882

Some contexts try to close their reference to the stderr stream at logging shutdown, this ensures these don't break.
An explicit `pass` is better here, but the docstring _is_ a statement.

Co-authored-by: Ash Berlin-Taylor <ash_github@firemirror.com>
@ashb ashb merged commit 26ae8e9 into apache:master Oct 20, 2020
@mjpieters mjpieters deleted the streamlogwriter_close/master branch October 21, 2020 13:44
kaxil pushed a commit that referenced this pull request Jan 22, 2021
Some contexts try to close their reference to the stderr stream at logging shutdown, this ensures these don't break.

related: #10882, #10884
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StreamLogWriter has no close method, clashes with abseil logging (Tensorflow)
2 participants