mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 15:02:51 +03:00
Set ssh logging level appropriately
This commit is contained in:
parent
a6c1b33a8c
commit
8d95091f4d
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue