gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: -nicer logging


From: gnunet
Subject: [taler-merchant] branch master updated: -nicer logging
Date: Thu, 02 Sep 2021 19:39:20 +0200

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

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 3d551635 -nicer logging
3d551635 is described below

commit 3d551635bc34cda92a75202ade8f1d8c76f62322
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Sep 2 19:39:17 2021 +0200

    -nicer logging
---
 src/backend/taler-merchant-httpd_private-post-transfers.c | 4 ++++
 src/backenddb/plugin_merchantdb_postgres.c                | 2 +-
 src/testing/test_merchant_transfer_tracking.sh            | 2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_private-post-transfers.c 
b/src/backend/taler-merchant-httpd_private-post-transfers.c
index 18ff781d..2febf4bc 100644
--- a/src/backend/taler-merchant-httpd_private-post-transfers.c
+++ b/src/backend/taler-merchant-httpd_private-post-transfers.c
@@ -1047,6 +1047,10 @@ TMH_private_post_transfers (const struct 
TMH_RequestHandler *rh,
                                              
TALER_EC_MERCHANT_PRIVATE_POST_TRANSFERS_ACCOUNT_NOT_FOUND,
                                              ptc->payto_uri);
         case GNUNET_DB_STATUS_SUCCESS_ONE_RESULT:
+          GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+                      "Bank account `%s' is configured at row %llu\n",
+                      ptc->payto_uri,
+                      (unsigned long long) account_serial);
           break;
         }
 
diff --git a/src/backenddb/plugin_merchantdb_postgres.c 
b/src/backenddb/plugin_merchantdb_postgres.c
index d56c4b8b..0252f418 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -4244,7 +4244,7 @@ postgres_lookup_transfer (
                                                  "lookup_transfer",
                                                  params,
                                                  rs);
-  GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+  GNUNET_log (GNUNET_ERROR_TYPE_INFO,
               "Lookup transfer returned %d\n",
               qs);
   if (qs > 0)
diff --git a/src/testing/test_merchant_transfer_tracking.sh 
b/src/testing/test_merchant_transfer_tracking.sh
index fb054b9e..764e3d71 100755
--- a/src/testing/test_merchant_transfer_tracking.sh
+++ b/src/testing/test_merchant_transfer_tracking.sh
@@ -176,7 +176,7 @@ export LAST_RESPONSE
 echo -n "Notifying merchant of correct wire transfer, but on wrong instance..."
 
 #issue 6912
-#here we are notifying the transfer into a wrong instance (default) and the 
payto_uri with the default instance
+#here we are notifying the transfer into a wrong instance (default) and the 
payto_uri of the default instance
 STATUS=$(curl 'http://localhost:9966/instances/default/private/transfers' \
     -d 
'{"credit_amount":"'$CREDIT_AMOUNT'","wtid":"'$WTID'","payto_uri":"payto://x-taler-bank/localhost:8082/Tor","exchange_url":"'$WURL'"}'
 \
     -m 3 \

-- 
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]