diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-06 12:31:37 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-06 12:31:37 +0200 |
commit | 53d5343103b8315c1b798e51fd818cf31b8caedb (patch) | |
tree | 1301bd8534f0bb0857067682c1bc6e34afec4976 | |
parent | bda228232f4deb9b779e85b3d8626d1836509ea5 (diff) | |
download | exchange-53d5343103b8315c1b798e51fd818cf31b8caedb.tar.gz exchange-53d5343103b8315c1b798e51fd818cf31b8caedb.zip |
improve logging
-rw-r--r-- | src/exchange/taler-exchange-aggregator.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c index b84c837e5..89cd65828 100644 --- a/src/exchange/taler-exchange-aggregator.c +++ b/src/exchange/taler-exchange-aggregator.c | |||
@@ -1223,8 +1223,6 @@ run_reserve_closures (void *cls) | |||
1223 | tc = GNUNET_SCHEDULER_get_task_context (); | 1223 | tc = GNUNET_SCHEDULER_get_task_context (); |
1224 | if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) | 1224 | if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) |
1225 | return; | 1225 | return; |
1226 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | ||
1227 | "Checking for reserves to close\n"); | ||
1228 | if (NULL == (session = db_plugin->get_session (db_plugin->cls))) | 1226 | if (NULL == (session = db_plugin->get_session (db_plugin->cls))) |
1229 | { | 1227 | { |
1230 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1228 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
@@ -1250,6 +1248,9 @@ run_reserve_closures (void *cls) | |||
1250 | erc.async_cont = GNUNET_NO; | 1248 | erc.async_cont = GNUNET_NO; |
1251 | now = GNUNET_TIME_absolute_get (); | 1249 | now = GNUNET_TIME_absolute_get (); |
1252 | (void) GNUNET_TIME_round_abs (&now); | 1250 | (void) GNUNET_TIME_round_abs (&now); |
1251 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | ||
1252 | "Checking for reserves to close by date %s\n", | ||
1253 | GNUNET_STRINGS_absolute_time_to_string (now)); | ||
1253 | qs = db_plugin->get_expired_reserves (db_plugin->cls, | 1254 | qs = db_plugin->get_expired_reserves (db_plugin->cls, |
1254 | session, | 1255 | session, |
1255 | now, | 1256 | now, |