commit b424335cc632a11bd76bad5791cef10e8c985720
parent 2dde0202c5590eeb051c1346f2b66293d83b87ce
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 20 Mar 2017 00:47:18 +0100
use log_from
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/pq/pq.c b/src/pq/pq.c
@@ -85,9 +85,10 @@ GNUNET_PQ_exec_prepared (PGconn *db_conn,
off += x->num_params;
}
GNUNET_assert (off == len);
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Executing prepared SQL statement `%s'\n",
- name);
+ GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG,
+ "pq",
+ "Executing prepared SQL statement `%s'\n",
+ name);
res = PQexecPrepared (db_conn,
name,
len,