summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/sd-bus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-25 02:13:50 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-25 02:41:09 +0100
commit4cdf07519a9582afa9d2deeb6d9f54597b8268a1 (patch)
tree81732efeebd5b0abdd8ef487dc4ae6aab61ef5b2 /src/libsystemd-bus/sd-bus.c
parent33649f58afe3e8b09580719fc16eca249d0efffc (diff)
bus: be a bit more verbose when debug mode is on
Diffstat (limited to 'src/libsystemd-bus/sd-bus.c')
-rw-r--r--src/libsystemd-bus/sd-bus.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/libsystemd-bus/sd-bus.c b/src/libsystemd-bus/sd-bus.c
index 77690a07b1..3a4821319e 100644
--- a/src/libsystemd-bus/sd-bus.c
+++ b/src/libsystemd-bus/sd-bus.c
@@ -2103,11 +2103,16 @@ static int process_message(sd_bus *bus, sd_bus_message *m) {
bus->current = m;
bus->iteration_counter++;
- log_debug("Got message sender=%s object=%s interface=%s member=%s",
+ log_debug("Got message type=%s sender=%s destination=%s object=%s interface=%s member=%s serial=%lu reply_serial=%lu error=%s",
+ bus_message_type_to_string(m->header->type),
strna(sd_bus_message_get_sender(m)),
+ strna(sd_bus_message_get_destination(m)),
strna(sd_bus_message_get_path(m)),
strna(sd_bus_message_get_interface(m)),
- strna(sd_bus_message_get_member(m)));
+ strna(sd_bus_message_get_member(m)),
+ (unsigned long) m->header->serial,
+ (unsigned long) m->reply_serial,
+ strna(m->error.message));
r = process_hello(bus, m);
if (r != 0)