diff options
author | Ganesh Nalawade <ganesh634@gmail.com> | 2017-06-13 18:41:33 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-13 18:41:33 +0530 |
commit | 9e8cc26720f5e8a18a6b94aa88f582a9e291714b (patch) | |
tree | 671e7a64c472d712441471b3b2de1d1289231bd7 /bin | |
parent | 343a709800dbb42931ea7c6b8c70c59d8c3f4c2c (diff) | |
download | ansible-9e8cc26720f5e8a18a6b94aa88f582a9e291714b.tar.gz |
Add log_only to debug messages (#25545)
Fixes #25544
When `debug` is enabled the debug messages triggered
from `bin/ansible-connection` should be logged only to file
and not on stdout.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ansible-connection | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ansible-connection b/bin/ansible-connection index de118aecb8..7f4f7a2184 100755 --- a/bin/ansible-connection +++ b/bin/ansible-connection @@ -290,7 +290,7 @@ def main(): sys.stderr.write(traceback.format_exc()) sys.exit("FAIL: %s" % e) - ssh = connection_loader.get('ssh', class_only=True) + ssh = connection_loader.get('ssh', class_only=True, log_only=True) cp = ssh._create_control_path(pc.remote_addr, pc.connection, pc.remote_user) # create the persistent connection dir if need be and create the paths |