mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-23 09:22:26 -04:00
Set ssh logging level appropriately
This commit is contained in:
@@ -82,6 +82,10 @@ def build_server(app, thisbuild, vcs, build_dir, output_dir, force):
|
|||||||
"""Do a build on the build server."""
|
"""Do a build on the build server."""
|
||||||
|
|
||||||
import ssh
|
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.
|
# Reset existing builder machine to a clean state if possible.
|
||||||
vm_ok = False
|
vm_ok = False
|
||||||
|
|||||||
Reference in New Issue
Block a user