From: Tapio Tallgren Date: Wed, 3 Jun 2020 12:29:09 +0000 (+0300) Subject: Add a line to change loglevel X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F43%2F3543%2F1;p=validation.git Add a line to change loglevel This does not change the default loglevel but makes it easy to change it when debugging Signed-off-by: Tapio Tallgren Change-Id: I4c3c1919fe4c555d51aaa6c8c139af30a7f8c7a2 --- diff --git a/tests/os/vuls/vuls.robot b/tests/os/vuls/vuls.robot index 0847322..01ae1c4 100644 --- a/tests/os/vuls/vuls.robot +++ b/tests/os/vuls/vuls.robot @@ -82,6 +82,8 @@ Cleanup ssh ${rc} = Run And Return Rc ssh '${USERNAME}'@'${HOST}' "sed -i 's#${idssh}##' ~/.ssh/authorized_keys" Should Be Equal As Integers ${rc} 0 +# Loglevel can be TRACE, DEBUG, INFO, WARN and NONE (no logging). Default is INFO Open Connection And Log In + Set Default Configuration loglevel=INFO Open Connection ${HOST} Run Keyword IF '${SSH_KEYFILE}' != 'None' Login With Public Key ${USERNAME} ${SSH_KEYFILE} ELSE IF '${PASSWORD}' != 'None' Login ${USERNAME} ${PASSWORD} ELSE FAIL