From 7af6da3eee33df104e66a942c42303c7dc07df9f Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Thu, 25 Aug 2022 17:58:16 +0200 Subject: [PATCH] fix invalidations in logging --- base/logging.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/logging.jl b/base/logging.jl index d2b6fa637c1bc..f60a9a1a80eab 100644 --- a/base/logging.jl +++ b/base/logging.jl @@ -672,7 +672,7 @@ function handle_message(logger::SimpleLogger, level::LogLevel, message, _module, end buf = IOBuffer() stream = logger.stream - if !isopen(stream) + if !(isopen(stream)::Bool) stream = stderr end iob = IOContext(buf, stream)