dbus: log received message only once, in filter function

This commit is contained in:
Lennart Poettering 2010-07-08 00:27:09 +02:00
parent 07405e9096
commit 46d95c0fe0
3 changed files with 0 additions and 15 deletions

View File

@ -123,11 +123,6 @@ static DBusHandlerResult bus_job_message_handler(DBusConnection *connection, DBu
assert(message); assert(message);
assert(m); 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 = manager_get_job_from_dbus_path(m, dbus_message_get_path(message), &j)) < 0) {
if (r == -ENOMEM) if (r == -ENOMEM)

View File

@ -243,11 +243,6 @@ static DBusHandlerResult bus_manager_message_handler(DBusConnection *connection,
dbus_error_init(&error); 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")) { if (dbus_message_is_method_call(message, "org.freedesktop.systemd1.Manager", "GetUnit")) {
const char *name; const char *name;
Unit *u; Unit *u;

View File

@ -345,11 +345,6 @@ static DBusHandlerResult bus_unit_message_handler(DBusConnection *connection, DB
assert(message); assert(message);
assert(m); 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 = manager_get_unit_from_dbus_path(m, dbus_message_get_path(message), &u)) < 0) {
if (r == -ENOMEM) if (r == -ENOMEM)