summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGanesh Nalawade <ganesh634@gmail.com>2017-06-13 18:41:33 +0530
committerGitHub <noreply@github.com>2017-06-13 18:41:33 +0530
commit9e8cc26720f5e8a18a6b94aa88f582a9e291714b (patch)
tree671e7a64c472d712441471b3b2de1d1289231bd7 /bin
parent343a709800dbb42931ea7c6b8c70c59d8c3f4c2c (diff)
downloadansible-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-xbin/ansible-connection2
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