exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 53d5343103b8315c1b798e51fd818cf31b8caedb
parent bda228232f4deb9b779e85b3d8626d1836509ea5
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  6 Oct 2019 12:31:37 +0200

improve logging

Diffstat:
Msrc/exchange/taler-exchange-aggregator.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c @@ -1223,8 +1223,6 @@ run_reserve_closures (void *cls) tc = GNUNET_SCHEDULER_get_task_context (); if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) return; - GNUNET_log (GNUNET_ERROR_TYPE_INFO, - "Checking for reserves to close\n"); if (NULL == (session = db_plugin->get_session (db_plugin->cls))) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, @@ -1250,6 +1248,9 @@ run_reserve_closures (void *cls) erc.async_cont = GNUNET_NO; now = GNUNET_TIME_absolute_get (); (void) GNUNET_TIME_round_abs (&now); + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Checking for reserves to close by date %s\n", + GNUNET_STRINGS_absolute_time_to_string (now)); qs = db_plugin->get_expired_reserves (db_plugin->cls, session, now,