Remove info log for IOStream using default. (#2281)

This commit is contained in:
Eric Zhu 2024-04-04 19:38:31 -07:00 committed by GitHub
parent 42b27b9a9d
commit b6ac8da554
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,7 +76,6 @@ class IOStream(InputStream, OutputStream, Protocol):
"""
iostream = IOStream._default_io_stream.get()
if iostream is None:
logger.info("No default IOStream has been set, defaulting to IOConsole.")
iostream = IOStream.get_global_default()
# Set the default IOStream of the current context (thread/cooroutine)
IOStream.set_default(iostream)