summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/sd-bus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-23 17:18:30 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-23 17:18:30 +0100
commitdc74ce9b4a49ab31383d00b30406bc225b2cc8ed (patch)
tree799b3ed7586bb0d826ca95a413bbb70c93edadc7 /src/libsystemd-bus/sd-bus.c
parent6096dfd6167f8520be3a359c1fd0e6f2e76a4dc1 (diff)
bus: write debug message when we get a method call we cannot handle
Diffstat (limited to 'src/libsystemd-bus/sd-bus.c')
-rw-r--r--src/libsystemd-bus/sd-bus.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libsystemd-bus/sd-bus.c b/src/libsystemd-bus/sd-bus.c
index ee62b3487e..9dfb6e4442 100644
--- a/src/libsystemd-bus/sd-bus.c
+++ b/src/libsystemd-bus/sd-bus.c
@@ -2171,6 +2171,12 @@ static int process_running(sd_bus *bus, sd_bus_message **ret) {
if (m->header->type == SD_BUS_MESSAGE_METHOD_CALL) {
+ log_debug("Unprocessed message call sender=%s object=%s interface=%s member=%s",
+ strna(sd_bus_message_get_sender(m)),
+ strna(sd_bus_message_get_path(m)),
+ strna(sd_bus_message_get_interface(m)),
+ strna(sd_bus_message_get_member(m)));
+
r = sd_bus_reply_method_errorf(
m,
SD_BUS_ERROR_UNKNOWN_OBJECT,