ansible: quiesce boto logger; closes #541.

pull/564/head
David Wilson 6 years ago
parent c39ee9b7fe
commit 0f30808234

@ -54,7 +54,8 @@ class Handler(logging.Handler):
#: may simply be to bury all target logs in DEBUG output, but not by #: may simply be to bury all target logs in DEBUG output, but not by
#: overriding their log level as done here. #: overriding their log level as done here.
NOISY_LOGGERS = frozenset([ NOISY_LOGGERS = frozenset([
'dnf', # issue #272; warns when a package is already installed. 'dnf', # issue #272; warns when a package is already installed.
'boto', # issue #541; normal boto retry logic can cause ERROR logs.
]) ])
def emit(self, record): def emit(self, record):

@ -150,6 +150,11 @@ Fixes
* `#540 <https://github.com/dw/mitogen/issues/540>`_: the ``stderr`` stream of * `#540 <https://github.com/dw/mitogen/issues/540>`_: the ``stderr`` stream of
async module invocations was previously discarded. async module invocations was previously discarded.
* `#541 <https://github.com/dw/mitogen/issues/541>`_: Python error logs
originating from the ``boto`` package are quiesced, and appear only in
``-vvv`` output. This is since many EC2 modules triggers errors during normal
operation, in the process of retrying transiently failing requests.
* `748f5f67 <https://github.com/dw/mitogen/commit/748f5f67>`_: the * `748f5f67 <https://github.com/dw/mitogen/commit/748f5f67>`_: the
``ansible_ssh_host`` variable is respected when ``mitogen_via=`` is active. ``ansible_ssh_host`` variable is respected when ``mitogen_via=`` is active.

Loading…
Cancel
Save