Skip to content

Commit 1576c02

Browse files
committed
inspect_links: all logging to stdout
In CI, stdout and stderr are interleaved weirdly, making the output hard to read. To fix this, don't log messages to both-- just use stdout for everything.
1 parent f086b34 commit 1576c02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/inspect_links.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ def main():
246246

247247

248248
def setup_logging():
249-
log_stderr = logging.StreamHandler()
250-
logging.getLogger('').addHandler(log_stderr)
249+
log_stdout = logging.StreamHandler(sys.stdout)
250+
logging.getLogger('').addHandler(log_stdout)
251251

252252

253253
if __name__ == "__main__":

0 commit comments

Comments
 (0)