aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-04 17:51:36 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-04 19:40:04 +0800
commit8c651efbfd8e5ceea5e8796aec12d61840e9590d (patch)
tree723488a7281413a86ef02235c1a1296c8de1f4e2 /libempathy
parent26d17c7c631bb175f58b00d9e332b0fd8c741d90 (diff)
downloadgsoc2013-empathy-8c651efbfd8e5ceea5e8796aec12d61840e9590d.tar
gsoc2013-empathy-8c651efbfd8e5ceea5e8796aec12d61840e9590d.tar.gz
gsoc2013-empathy-8c651efbfd8e5ceea5e8796aec12d61840e9590d.tar.bz2
gsoc2013-empathy-8c651efbfd8e5ceea5e8796aec12d61840e9590d.tar.lz
gsoc2013-empathy-8c651efbfd8e5ceea5e8796aec12d61840e9590d.tar.xz
gsoc2013-empathy-8c651efbfd8e5ceea5e8796aec12d61840e9590d.tar.zst
gsoc2013-empathy-8c651efbfd8e5ceea5e8796aec12d61840e9590d.zip
tp_chat_received_cb: display the path of the channel in debug log
That can be convenient when debugging to easily match Empathy and CM logs.
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-chat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index 20692a188..a9077994c 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -337,7 +337,8 @@ tp_chat_received_cb (TpChannel *channel,
return;
}
- DEBUG ("Message received: %s", message_body);
+ DEBUG ("Message received from channel %s: %s",
+ tp_proxy_get_object_path (channel), message_body);
if (message_flags & TP_CHANNEL_TEXT_MESSAGE_FLAG_NON_TEXT_CONTENT &&
!tp_strdiff (message_body, "")) {