Set ssh logging level appropriately

This commit is contained in:
Ciaran Gultnieks committed 2014-02-25 12:46:32 +00:00
1 parent a6c1b33a8c
commit 8d95091f4d
1 file changed
+4
+4
View File
@@ -82,6 +82,10 @@ def build_server(app, thisbuild, vcs, build_dir, output_dir, force):
"""Do a build on the build server."""
import ssh
if options.debug:
logging.getLogger("ssh").setLevel(logging.DEBUG)
else:
logging.getLogger("ssh").setLevel(logging.WARN)
# Reset existing builder machine to a clean state if possible.
vm_ok = False