diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-10-02 22:41:10 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-10-02 22:41:10 +0200 |
commit | 90c4c6dad6f1e7bac3d44b5b6cd012bbfdf057a8 (patch) | |
tree | 60af89c2e62b8b725c1361cb6092fedad5f64e88 /src | |
parent | eceae4591f200a7c7e96194a99b79d469700d944 (diff) |
more logging to diagnose #9245
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-get-instances-ID-kyc.c | 8 | ||||
-rw-r--r-- | 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; } |