[tracker/sam/tracker-2.3-developer-experience: 30/38] trackertestutils: Log when the D-Bus daemon has stopped



commit 1cb7a29b7d41b9cb22b843e9bcdd1d7de2487eb5
Author: Sam Thursfield <sam afuera me uk>
Date:   Sun Sep 22 19:25:09 2019 +0200

    trackertestutils: Log when the D-Bus daemon has stopped
    
    I saw a test block after the 'Stopping 2 pipe reader threads' message.
    This extra log message will help us narrow down the problem when it
    reoccurs.

 utils/trackertestutils/dbusdaemon.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/utils/trackertestutils/dbusdaemon.py b/utils/trackertestutils/dbusdaemon.py
index 71f8a31fa..796fdc912 100644
--- a/utils/trackertestutils/dbusdaemon.py
+++ b/utils/trackertestutils/dbusdaemon.py
@@ -111,6 +111,7 @@ class DBusDaemon:
         if self._previous_sigterm_handler:
             signal.signal(signal.SIGTERM, self._previous_sigterm_handler)
             self._previous_sigterm_handler = None
+        log.debug("DBus daemon stopped")
 
     def pipe_to_log(self, pipe, dbuslog):
         """This function processes the output from our dbus-daemon instance."""


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]