mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Override log level
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
eaf511ddfb
commit
510721043b
1 changed files with 2 additions and 1 deletions
|
@ -663,6 +663,7 @@ class VM:
|
|||
"0",
|
||||
log_command_level=logging.DEBUG,
|
||||
ssh_options=[
|
||||
"-oLogLevel=INFO",
|
||||
"-oConnectTimeout=5",
|
||||
"-oConnectionAttempts=1",
|
||||
],
|
||||
|
@ -690,7 +691,7 @@ class VM:
|
|||
proc = None
|
||||
if time.time() - wait_start < 1:
|
||||
# Process exited too fast, sleep a little longer
|
||||
time.sleep(1)
|
||||
time.sleep(3)
|
||||
except subprocess.TimeoutExpired:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue