From 32e4beb26c3052fd80f0804a2aa2e246550bb1e4 Mon Sep 17 00:00:00 2001 From: Michael Steiner Date: Mon, 8 Apr 2024 11:21:27 -0700 Subject: [PATCH] Make script PDO_LOG_LEVEL aware Signed-off-by: Michael Steiner --- eservice/bin/register-with-ledger.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eservice/bin/register-with-ledger.sh b/eservice/bin/register-with-ledger.sh index d2432057..431b1c6a 100755 --- a/eservice/bin/register-with-ledger.sh +++ b/eservice/bin/register-with-ledger.sh @@ -54,7 +54,7 @@ function Store { yell PDO_FORCE_IAS_PROXY is true NO_PROXY='' no_proxy='' try eservice-enclave-info \ --save ${eservice_enclave_info_file} \ - --loglevel info \ + --loglevel ${PDO_LOG_LEVEL} \ --logfile __screen__ \ --identity ${ESERVICE_IDENTITY} \ --config ${ESERVICE_TOML} \ @@ -62,7 +62,7 @@ function Store { else try eservice-enclave-info \ --save ${eservice_enclave_info_file} \ - --loglevel info \ + --loglevel ${PDO_LOG_LEVEL} \ --logfile __screen__ \ --identity ${ESERVICE_IDENTITY} \ --config ${ESERVICE_TOML} \ @@ -86,7 +86,7 @@ function Register { yell Register enclave with CCF ledger: mrenclave=${VAR_MRENCLAVE} basename=${VAR_BASENAME} source ${PDO_INSTALL_ROOT}/bin/activate try ${PDO_INSTALL_ROOT}/bin/ccf_set_expected_sgx_measurements \ - --logfile __screen__ --loglevel INFO --mrenclave ${VAR_MRENCLAVE} \ + --logfile __screen__ --loglevel ${PDO_LOG_LEVEL} --mrenclave ${VAR_MRENCLAVE} \ --basename ${VAR_BASENAME} --ias-public-key "$(cat $IAS_KEY_PEM)" else die unsupported ledger ${PDO_LEDGER_TYPE}