avocado.core.output: Make stream logging to point to stdout
It is more natural [1] that output of --show-job-log goes to
stdout than stderr. Let's change that behavior and update
unittests accordingly.
[1] Natural in this sense is defined by the user's expectation -
when setting avocado to --show-job-log, you expect that the
job log *is* in the application's stdout.
Changes from v1:
* Python 2.6 constructor param for StreamHandler is strm,
that was changed in 2.7 to be stream. Let's keep compatibility
by using positional arguments.
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
Showing
想要评论请 注册 或 登录