aboutsummaryrefslogtreecommitdiffstats
path: root/src/pq_codec.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-09-10 16:27:04 +0300
committerVadim Yanitskiy <axilirator@gmail.com>2017-12-31 12:20:59 +0100
commit9e7e88927851fd6b2fa42d0a187bd7e65ccaccf1 (patch)
tree6f29db04909dc6ccac60b0cd00d64b8f41fdb97e /src/pq_codec.c
parent3839a88ea681024752048c902b23144c42f4fa42 (diff)
procqueue: use queue / item names in logging
Diffstat (limited to 'src/pq_codec.c')
-rw-r--r--src/pq_codec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pq_codec.c b/src/pq_codec.c
index b5dac5d..87afd82 100644
--- a/src/pq_codec.c
+++ b/src/pq_codec.c
@@ -78,8 +78,9 @@ osmo_gapk_pq_queue_codec(struct osmo_gapk_pq *pq, const struct osmo_gapk_codec_d
item->cat_name = "codec";
item->sub_name = codec->name;
- LOGPGAPK(LOGL_DEBUG, "PQ: Adding codec %s, %s format %s\n", codec->name,
- enc_dec_n ? "encoding to" : "decoding from", fmt->name);
+ LOGPGAPK(LOGL_DEBUG, "PQ '%s': Adding codec %s, %s format %s\n",
+ pq->name, codec->name, enc_dec_n ?
+ "encoding to" : "decoding from", fmt->name);
if (!item->proc)
return -ENOTSUP;