summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-01-02 17:48:15 +0100
committerChristian Grothoff <christian@grothoff.org>2024-01-02 17:48:15 +0100
commit532cfc21b43b503c34b56f86fc94df96d4fbb1f2 (patch)
tree01241d24947c62a105d266012043e09a6ec82132
parent101c1919c7522615bac5f891364cec5df6e55fcb (diff)
downloadexchange-532cfc21b43b503c34b56f86fc94df96d4fbb1f2.tar.gz
exchange-532cfc21b43b503c34b56f86fc94df96d4fbb1f2.tar.bz2
exchange-532cfc21b43b503c34b56f86fc94df96d4fbb1f2.zip
-pass -L LOGLEVEL for wirewatch
-rw-r--r--src/exchange/taler-exchange-wirewatch.c2
-rw-r--r--src/kyclogic/plugin_kyclogic_kycaid.c4
-rwxr-xr-xsrc/testing/taler-unified-setup.sh69
3 files changed, 57 insertions, 18 deletions
diff --git a/src/exchange/taler-exchange-wirewatch.c b/src/exchange/taler-exchange-wirewatch.c
index be9723bfb..34235eb94 100644
--- a/src/exchange/taler-exchange-wirewatch.c
+++ b/src/exchange/taler-exchange-wirewatch.c
@@ -490,7 +490,7 @@ transaction_completed (void)
latency);
if (! (test_mode ||
GNUNET_TIME_relative_is_zero (left)) )
- GNUNET_log (GNUNET_ERROR_TYPE_ERROR, // WARNING,
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"Server did not respect long-polling, enforcing client-side by sleeping for %s\n",
GNUNET_TIME_relative2s (left,
true));
diff --git a/src/kyclogic/plugin_kyclogic_kycaid.c b/src/kyclogic/plugin_kyclogic_kycaid.c
index d7fddab4b..6c8ced55d 100644
--- a/src/kyclogic/plugin_kyclogic_kycaid.c
+++ b/src/kyclogic/plugin_kyclogic_kycaid.c
@@ -1205,7 +1205,7 @@ kycaid_webhook (void *cls,
CURL *eh;
const char *request_id;
const char *type;
- const char *verification_id;
+ const char *verification_id; /* = provider_legitimization_id */
const char *applicant_id;
const char *form_id;
const char *status = NULL;
@@ -1304,7 +1304,7 @@ kycaid_webhook (void *cls,
if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs)
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
- "Received webhook for unknown verification ID `%s' and section %s\n",
+ "Received webhook for unknown verification ID `%s' and section `%s'\n",
verification_id,
pd->section);
wh->resp = TALER_MHD_make_error (
diff --git a/src/testing/taler-unified-setup.sh b/src/testing/taler-unified-setup.sh
index 833357ccb..60c1764f6 100755
--- a/src/testing/taler-unified-setup.sh
+++ b/src/testing/taler-unified-setup.sh
@@ -446,10 +446,21 @@ then
taler-config -c "$CONF" -s exchange -o MASTER_PUBLIC_KEY -V "$MASTER_PUB"
fi
taler-exchange-dbinit -c "$CONF" --reset
- $USE_VALGRIND taler-exchange-secmod-eddsa -c "$CONF" -L "$LOGLEVEL" 2> taler-exchange-secmod-eddsa.log &
- $USE_VALGRIND taler-exchange-secmod-rsa -c "$CONF" -L "$LOGLEVEL" 2> taler-exchange-secmod-rsa.log &
- $USE_VALGRIND taler-exchange-secmod-cs -c "$CONF" -L "$LOGLEVEL" 2> taler-exchange-secmod-cs.log &
- $USE_VALGRIND taler-exchange-httpd -c "$CONF" -L "$LOGLEVEL" 2> taler-exchange-httpd.log &
+ $USE_VALGRIND taler-exchange-secmod-eddsa \
+ -c "$CONF" \
+ -L "$LOGLEVEL" \
+ 2> taler-exchange-secmod-eddsa.log &
+ $USE_VALGRIND taler-exchange-secmod-rsa \
+ -c "$CONF" \
+ -L "$LOGLEVEL" \
+ 2> taler-exchange-secmod-rsa.log &
+ $USE_VALGRIND taler-exchange-secmod-cs \
+ -c "$CONF" \
+ -L "$LOGLEVEL" \
+ 2> taler-exchange-secmod-cs.log &
+ $USE_VALGRIND taler-exchange-httpd \
+ -c "$CONF" \
+ -L "$LOGLEVEL" 2> taler-exchange-httpd.log &
echo " DONE"
fi
@@ -459,6 +470,7 @@ then
$USE_VALGRIND taler-exchange-wirewatch \
--account="$USE_ACCOUNT" \
-c "$CONF" \
+ -L "$LOGLEVEL" \
--longpoll-timeout="1 s" \
2> taler-exchange-wirewatch.log &
echo " DONE"
@@ -467,14 +479,20 @@ fi
if [ "1" = "$START_AGGREGATOR" ]
then
echo -n "Starting aggregator ..."
- $USE_VALGRIND taler-exchange-aggregator -c "$CONF" 2> taler-exchange-aggregator.log &
+ $USE_VALGRIND taler-exchange-aggregator \
+ -c "$CONF" \
+ -L "$LOGLEVEL" \
+ 2> taler-exchange-aggregator.log &
echo " DONE"
fi
if [ "1" = "$START_TRANSFER" ]
then
echo -n "Starting transfer ..."
- $USE_VALGRIND taler-exchange-transfer -c "$CONF" 2> taler-exchange-transfer.log &
+ $USE_VALGRIND taler-exchange-transfer \
+ -c "$CONF" \
+ -L "$LOGLEVEL" \
+ 2> taler-exchange-transfer.log &
echo " DONE"
fi
@@ -499,9 +517,15 @@ then
MERCHANT_PORT="$(taler-config -c "$CONF" -s MERCHANT -o PORT)"
MERCHANT_URL="http://localhost:${MERCHANT_PORT}/"
fi
- taler-merchant-dbinit -c "$CONF" -L "$LOGLEVEL" --reset &> taler-merchant-dbinit.log
- $USE_VALGRIND taler-merchant-httpd -c "$CONF" -L "$LOGLEVEL" 2> taler-merchant-httpd.log &
- $USE_VALGRIND taler-merchant-webhook -c "$CONF" -L "$LOGLEVEL" 2> taler-merchant-webhook.log &
+ taler-merchant-dbinit \
+ -c "$CONF" \
+ --reset &> taler-merchant-dbinit.log
+ $USE_VALGRIND taler-merchant-httpd \
+ -c "$CONF" \
+ -L "$LOGLEVEL" 2> taler-merchant-httpd.log &
+ $USE_VALGRIND taler-merchant-webhook \
+ -c "$CONF" \
+ -L "$LOGLEVEL" 2> taler-merchant-webhook.log &
echo " DONE"
fi
@@ -517,7 +541,10 @@ then
SYNC_URL="http://localhost:${SYNC_PORT}/"
fi
sync-dbinit -c "$CONF" --reset
- $USE_VALGRIND sync-httpd -c "$CONF" -L "$LOGLEVEL" 2> sync-httpd.log &
+ $USE_VALGRIND sync-httpd \
+ -c "$CONF" \
+ -L "$LOGLEVEL" \
+ 2> sync-httpd.log &
echo " DONE"
fi
@@ -532,8 +559,13 @@ then
else
CHALLENGER_URL="http://localhost:${CHALLENGER_PORT}/"
fi
- challenger-dbinit -c "$CONF" --reset
- $USE_VALGRIND challenger-httpd -c "$CONF" -L "$LOGLEVEL" 2> challenger-httpd.log &
+ challenger-dbinit \
+ -c "$CONF" \
+ --reset
+ $USE_VALGRIND challenger-httpd \
+ -c "$CONF" \
+ -L "$LOGLEVEL" \
+ 2> challenger-httpd.log &
echo " DONE"
for SECTION in $(taler-config -c "$CONF" -S | grep kyc-provider)
do
@@ -574,9 +606,16 @@ then
fi
AUDITOR_PUB=$(gnunet-ecc -p "${AUDITOR_PRIV_FILE}")
MAPUB=${MASTER_PUB:-$(taler-config -c "$CONF" -s exchange -o MASTER_PUBLIC_KEY)}
- taler-auditor-dbinit -c "$CONF" --reset
- taler-auditor-exchange -c "$CONF" -m "$MAPUB" -u "$EXCHANGE_URL"
- $USE_VALGRIND taler-auditor-httpd -L "$LOGLEVEL" -c "$CONF" 2> taler-auditor-httpd.log &
+ taler-auditor-dbinit \
+ -c "$CONF" \
+ --reset
+ taler-auditor-exchange \
+ -c "$CONF" \
+ -m "$MAPUB" \
+ -u "$EXCHANGE_URL"
+ $USE_VALGRIND taler-auditor-httpd \
+ -L "$LOGLEVEL" \
+ -c "$CONF" 2> taler-auditor-httpd.log &
echo " DONE"
fi