[tracker/sam/sandbox-dbus-logging-fix] trackertestutils: Fix DBus logging output
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sam/sandbox-dbus-logging-fix] trackertestutils: Fix DBus logging output
- Date: Mon, 24 Aug 2020 17:29:45 +0000 (UTC)
commit 5eec3e02ca4dfe966e2e0583bf5ab9054eadef6b
Author: Sam Thursfield <sam afuera me uk>
Date: Mon Aug 24 19:28:13 2020 +0200
trackertestutils: Fix DBus logging output
I changed the name of the logger in
https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/254.
This updates tracker-sandbox accordingly so that log messages from
the DBus daemons appear on stdout by default.
utils/trackertestutils/__main__.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/utils/trackertestutils/__main__.py b/utils/trackertestutils/__main__.py
index 078c3fe85..23e849454 100644
--- a/utils/trackertestutils/__main__.py
+++ b/utils/trackertestutils/__main__.py
@@ -255,8 +255,8 @@ def init_logging(debug_sandbox, debug_dbus):
root.setLevel(logging.DEBUG)
root.addHandler(sandbox_log_handler)
else:
- dbus_stderr = logging.getLogger('trackertestutils.dbusdaemon.stderr')
- dbus_stdout = logging.getLogger('trackertestutils.dbusdaemon.stdout')
+ dbus_stderr = logging.getLogger('sandbox-session-bus.stderr')
+ dbus_stdout = logging.getLogger('sandbox-session-bus.stdout')
dbus_handler = logging.StreamHandler(stream=sys.stderr)
dbus_handler.setFormatter(logging.Formatter(DBUS_FORMAT))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]