From 46d95c0fe087a9a4475cae5430e9b33f6c46ff25 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 8 Jul 2010 00:27:09 +0200 Subject: [PATCH] dbus: log received message only once, in filter function --- src/dbus-job.c | 5 ----- src/dbus-manager.c | 5 ----- src/dbus-unit.c | 5 ----- 3 files changed, 15 deletions(-) diff --git a/src/dbus-job.c b/src/dbus-job.c index 0956dcff..653e11d1 100644 --- a/src/dbus-job.c +++ b/src/dbus-job.c @@ -123,11 +123,6 @@ static DBusHandlerResult bus_job_message_handler(DBusConnection *connection, DBu assert(message); assert(m); - log_debug("Got D-Bus request: %s.%s() on %s", - dbus_message_get_interface(message), - dbus_message_get_member(message), - dbus_message_get_path(message)); - if ((r = manager_get_job_from_dbus_path(m, dbus_message_get_path(message), &j)) < 0) { if (r == -ENOMEM) diff --git a/src/dbus-manager.c b/src/dbus-manager.c index 7bf58b39..dda7c771 100644 --- a/src/dbus-manager.c +++ b/src/dbus-manager.c @@ -243,11 +243,6 @@ static DBusHandlerResult bus_manager_message_handler(DBusConnection *connection, dbus_error_init(&error); - log_debug("Got D-Bus request: %s.%s() on %s", - dbus_message_get_interface(message), - dbus_message_get_member(message), - dbus_message_get_path(message)); - if (dbus_message_is_method_call(message, "org.freedesktop.systemd1.Manager", "GetUnit")) { const char *name; Unit *u; diff --git a/src/dbus-unit.c b/src/dbus-unit.c index 63301a08..85125c96 100644 --- a/src/dbus-unit.c +++ b/src/dbus-unit.c @@ -345,11 +345,6 @@ static DBusHandlerResult bus_unit_message_handler(DBusConnection *connection, DB assert(message); assert(m); - log_debug("Got D-Bus request: %s.%s() on %s", - dbus_message_get_interface(message), - dbus_message_get_member(message), - dbus_message_get_path(message)); - if ((r = manager_get_unit_from_dbus_path(m, dbus_message_get_path(message), &u)) < 0) { if (r == -ENOMEM) -- 2.39.5