gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -pass -L LOGLEVEL for wirewatch


From: gnunet
Subject: [taler-exchange] branch master updated: -pass -L LOGLEVEL for wirewatch
Date: Tue, 02 Jan 2024 17:48:19 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 532cfc21 -pass -L LOGLEVEL for wirewatch
532cfc21 is described below

commit 532cfc21b43b503c34b56f86fc94df96d4fbb1f2
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Jan 2 17:48:15 2024 +0100

    -pass -L LOGLEVEL for wirewatch
---
 src/exchange/taler-exchange-wirewatch.c |  2 +-
 src/kyclogic/plugin_kyclogic_kycaid.c   |  4 +-
 src/testing/taler-unified-setup.sh      | 69 ++++++++++++++++++++++++++-------
 3 files changed, 57 insertions(+), 18 deletions(-)

diff --git a/src/exchange/taler-exchange-wirewatch.c 
b/src/exchange/taler-exchange-wirewatch.c
index be9723bf..34235eb9 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 d7fddab4..6c8ced55 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 833357cc..60c1764f 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
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]