chiark / gitweb /
bus: write debug message when we get a method call we cannot handle
authorLennart Poettering <lennart@poettering.net>
Mon, 23 Dec 2013 16:18:30 +0000 (17:18 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 23 Dec 2013 16:18:30 +0000 (17:18 +0100)
src/libsystemd-bus/sd-bus.c

index ee62b34..9dfb6e4 100644 (file)
@@ -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,