From 418459b6343dc7499940411542d0339f3579a424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Thu, 10 Jan 2019 21:50:49 +0100 Subject: [PATCH] DBus: Add some logging --- gajim/remote_control.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gajim/remote_control.py b/gajim/remote_control.py index f43332a21..45364b1d6 100644 --- a/gajim/remote_control.py +++ b/gajim/remote_control.py @@ -25,6 +25,7 @@ import os import base64 import mimetypes +import logging from gi.repository import GLib from gi.repository import Gio @@ -36,6 +37,8 @@ from gajim.common import ged from gajim.common.connection_handlers_events import MessageOutgoingEvent from gajim.common.connection_handlers_events import GcMessageOutgoingEvent +log = logging.getLogger('gajim.remote_control') + def get_dbus_struct(obj): """ @@ -405,6 +408,7 @@ class GajimRemote(Server): self.raise_signal('VcardInfo', (obj.conn.name, obj.vcard_dict)) def raise_signal(self, event_name, data): + log.info('Send event %s', event_name) self.con.emit_signal(None, '/org/gajim/dbus/RemoteObject', 'org.gajim.dbus.RemoteInterface',