From 9e7e88927851fd6b2fa42d0a187bd7e65ccaccf1 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Sun, 10 Sep 2017 16:27:04 +0300 Subject: procqueue: use queue / item names in logging --- src/pq_codec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/pq_codec.c') 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; -- cgit v1.2.3