gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: more logging to diagnose #9245


From: gnunet
Subject: [taler-merchant] branch master updated: more logging to diagnose #9245
Date: Wed, 02 Oct 2024 22:41:13 +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 90c4c6da more logging to diagnose #9245
90c4c6da is described below

commit 90c4c6dad6f1e7bac3d44b5b6cd012bbfdf057a8
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Oct 2 22:41:10 2024 +0200

    more logging to diagnose #9245
---
 src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c | 8 ++++++++
 src/backend/taler-merchant-kyccheck.c                           | 5 +++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c 
b/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c
index 8d7f437c..18fc4ceb 100644
--- a/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c
+++ b/src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c
@@ -772,6 +772,14 @@ kyc_status_cb (
   struct KycContext *kc = cls;
   struct ExchangeKycRequest *ekr;
 
+  GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+              "KYC status for `%s' at `%s' is %u/%s/%s/%s\n",
+              payto_uri,
+              exchange_url,
+              last_http_status,
+              kyc_ok ? "KYC OK" : "KYC NEEDED",
+              in_aml_review ? "IN AML REVIEW" : "NO AML REVIEW",
+              NULL == jlimits ? "DEFAULT LIMITS" : "CUSTOM LIMITS");
   switch (kc->lpt)
   {
   case TALER_EXCHANGE_KLPT_NONE:
diff --git a/src/backend/taler-merchant-kyccheck.c 
b/src/backend/taler-merchant-kyccheck.c
index 036f33e9..ae142511 100644
--- a/src/backend/taler-merchant-kyccheck.c
+++ b/src/backend/taler-merchant-kyccheck.c
@@ -606,10 +606,11 @@ exchange_check_cb (
       return;
     }
     GNUNET_log (GNUNET_ERROR_TYPE_INFO,
-                "account_set_kyc_status (%s, %u, %d) returned %d\n",
+                "account_set_kyc_status (%s, %u, %s, %s) returned %d\n",
                 i->e->keys->exchange_url,
                 i->last_http_status,
-                i->auth_ok,
+                i->auth_ok ? "auth OK" : "auth needed",
+                NULL == i->jlimits ? "default limits" : "custom limits",
                 (int) qs);
     i->not_first_time = true;
   }

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