commit ce27f8f758c2e017c5245363f87bf89248d4b6b6
parent 87358fbd800060f44f75ac6b4f920fdc35fd2a0d
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 1 Nov 2023 20:06:22 +0100
-more logging
Diffstat:
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/kyclogic/plugin_kyclogic_persona.c b/src/kyclogic/plugin_kyclogic_persona.c
@@ -1022,6 +1022,12 @@ start_conversion (const struct TALER_KYCLOGIC_ProviderDetails *pd,
TALER_JSON_JsonCallback cb,
void *cb_cls)
{
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Calling converter `%s' with JSON\n",
+ pd->conversion_binary);
+ json_dumpf (attr,
+ stderr,
+ JSON_INDENT (2));
return TALER_JSON_external_conversion_start (
attr,
cb,
diff --git a/src/util/conversion.c b/src/util/conversion.c
@@ -255,6 +255,11 @@ child_done_cb (void *cls,
json_error_t err;
ec->cwh = NULL;
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Conversion helper exited with status %d and code %llu after outputting %llu bytes of data\n",
+ (int) type,
+ (unsigned long long) exit_code,
+ (unsigned long long) ec->write_pos);
if (NULL != ec->read_task)
{
GNUNET_SCHEDULER_cancel (ec->read_task);