You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CliRunner does not capture logging output on stdout #854
That is more a problem of logging using not sys.stdout / sys.stderr directly, but where it pointed at when the handler gets created, and is therefore kind of expected.
As for me, I am using a handler based on logging's own _StderrHandler that will use sys.stderr always.
changed the title [-]CliRunner does not capture logging output on stdout[/-][+]`CliRunner` does not capture `logging` output on `stdout`[/+]on Apr 29, 2026
Activity
blueyed commentedon Oct 1, 2017
That is more a problem of logging using not
sys.stdout/sys.stderrdirectly, but where it pointed at when the handler gets created, and is therefore kind of expected.As for me, I am using a handler based on logging's own
_StderrHandlerthat will usesys.stderralways.[-]CliRunner does not capture logging output on stdout[/-][+]`CliRunner` does not capture `logging` output on `stdout`[/+]kdeldycke commentedon Apr 29, 2026
This is going to be addressed in v8.4.0 by #3391 which introduce a new
capture="fd"mode toCliRunner.