ansible: Quick fix for #172.

pull/175/head
David Wilson 7 years ago
parent bbb0f1bbd8
commit e0c4d6b348

@ -69,10 +69,11 @@ def setup():
""" """
display = find_display() display = find_display()
if display.verbosity > 2:
logging.getLogger('ansible_mitogen').handlers = [Handler(display.v)] logging.getLogger('ansible_mitogen').handlers = [Handler(display.v)]
logging.getLogger('ansible_mitogen').setLevel(logging.DEBUG) logging.getLogger('ansible_mitogen').setLevel(logging.DEBUG)
mitogen.core.LOG.handlers = [Handler(display.v)] mitogen.core.LOG.handlers = [Handler(display.vv)]
mitogen.core.LOG.setLevel(logging.DEBUG) mitogen.core.LOG.setLevel(logging.DEBUG)
mitogen.core.IOLOG.handlers = [Handler(display.vvvv)] mitogen.core.IOLOG.handlers = [Handler(display.vvvv)]

Loading…
Cancel
Save