summaryrefslogtreecommitdiff
path: root/src/pq/pq.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-20 00:47:18 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-20 00:47:18 +0100
commitb424335cc632a11bd76bad5791cef10e8c985720 (patch)
treeb4193d55dd40fc18e4e32b1815f33af874b9cd2f /src/pq/pq.c
parent2dde0202c5590eeb051c1346f2b66293d83b87ce (diff)
use log_from
Diffstat (limited to 'src/pq/pq.c')
-rw-r--r--src/pq/pq.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pq/pq.c b/src/pq/pq.c
index f4bab4e00..4e24e1ef8 100644
--- 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,