-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
redirect_stderr() and redirect_stdout() do not control logging output #26798
Comments
And |
Makes debugging harder, see timholy/Revise.jl#80 |
I think the problem is that |
Not just |
It's what we do in the julia/stdlib/Logging/src/Logging.jl Lines 55 to 63 in 665b1de
|
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-author-by: Joe Petviashvili <joe@gnom.us>
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-author-by: Joe Petviashvili <joe@gnom.us>
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>
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>
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>
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>
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>
The output is
Expected no output.
The text was updated successfully, but these errors were encountered: