summaryrefslogtreecommitdiff
path: root/src/backenddb/plugin_merchantdb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-07-21 23:19:44 +0200
committerChristian Grothoff <christian@grothoff.org>2017-07-21 23:19:49 +0200
commitca73be08fb511267d4ffe84a5a9d737ac4a57689 (patch)
treea60d61172cdbe40b1fe57b697ea614228aad061c /src/backenddb/plugin_merchantdb_postgres.c
parent759f073fb18a9f6e8f1565dafe42ed74d0ee6ded (diff)
downloadmerchant-ca73be08fb511267d4ffe84a5a9d737ac4a57689.tar.gz
merchant-ca73be08fb511267d4ffe84a5a9d737ac4a57689.tar.bz2
merchant-ca73be08fb511267d4ffe84a5a9d737ac4a57689.zip
more logging
Diffstat (limited to 'src/backenddb/plugin_merchantdb_postgres.c')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index 17e4d0a4..6c4dbcb4 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -1917,6 +1917,11 @@ postgres_store_wire_fee_by_exchange (void *cls,
};
check_connection (pg);
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Storing wire fee for %s starting at %s of %s\n",
+ TALER_B2S (exchange_pub),
+ GNUNET_STRINGS_absolute_time_to_string (start_date),
+ TALER_amount2s (wire_fee));
return GNUNET_PQ_eval_prepared_non_select (pg->conn,
"insert_wire_fee",
params);