diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-09-02 19:39:17 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-09-02 19:39:17 +0200 |
commit | 3d551635bc34cda92a75202ade8f1d8c76f62322 (patch) | |
tree | f266a78437a59a0db8b02391565933fcedccef31 | |
parent | 60dd54200942fba728fb13460ccc44d899a485a1 (diff) |
-nicer logging
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-transfers.c | 4 | ||||
-rw-r--r-- | src/backenddb/plugin_merchantdb_postgres.c | 2 | ||||
-rwxr-xr-x | 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 \ |