Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

logging: redirect closed streams to stderr/stdout #40423

Merged
merged 1 commit into from
Apr 21, 2021

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Apr 9, 2021

This has the additional benefit of making the initial logger respect
changes to redirect_stderr/stdout, until the user explicitly sets
another stream as the logging destination.

Fix #26798
Fix #38482
Replaces #26920, which provided the idea and most of the implementation

Co-authored-by: @GAIKA Thanks for this initial work to make this happen! Sorry it took so long to review.

This has the additional benefit of making the initial logger respect
changes to redirect_stderr/stdout, until the user explicitly sets
another stream as the logging destination.

Fix #26798
Fix #38482
Replaces #26920, which provided the idea and most of the implementation

Co-authored-by: Joe Petviashvili <joe@gnom.us>
@vtjnash
Copy link
Member Author

vtjnash commented Apr 13, 2021

Bump. I'll give this a few more days for reviewers to respond

@kshyatt kshyatt added the logging The logging framework label Apr 13, 2021
@vtjnash vtjnash added the merge me PR is reviewed. Merge when all tests are passing label Apr 19, 2021
@vtjnash vtjnash merged commit f103bb4 into master Apr 21, 2021
@vtjnash vtjnash deleted the jn/gaika/defaultlogger branch April 21, 2021 18:32
@simeonschaub simeonschaub removed the merge me PR is reviewed. Merge when all tests are passing label Apr 28, 2021
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
This has the additional benefit of making the initial logger respect
changes to redirect_stderr/stdout, until the user explicitly sets
another stream as the logging destination.

Fix JuliaLang#26798
Fix JuliaLang#38482
Replaces JuliaLang#26920, which provided the idea and most of the implementation

Co-authored-by: Joe Petviashvili <joe@gnom.us>
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
This has the additional benefit of making the initial logger respect
changes to redirect_stderr/stdout, until the user explicitly sets
another stream as the logging destination.

Fix JuliaLang#26798
Fix JuliaLang#38482
Replaces JuliaLang#26920, which provided the idea and most of the implementation

Co-authored-by: Joe Petviashvili <joe@gnom.us>
johanmon pushed a commit to johanmon/julia that referenced this pull request Jul 5, 2021
This has the additional benefit of making the initial logger respect
changes to redirect_stderr/stdout, until the user explicitly sets
another stream as the logging destination.

Fix JuliaLang#26798
Fix JuliaLang#38482
Replaces JuliaLang#26920, which provided the idea and most of the implementation

Co-authored-by: Joe Petviashvili <joe@gnom.us>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
logging The logging framework
Projects
None yet
3 participants