]> nmode's Git Repositories - signal-cli/commitdiff
add a DBus "daemon running" indicator
authorJohn Freed <okgithub@johnfreed.com>
Fri, 15 Oct 2021 06:40:13 +0000 (08:40 +0200)
committerJohn Freed <okgithub@johnfreed.com>
Fri, 15 Oct 2021 06:40:13 +0000 (08:40 +0200)
src/main/java/org/asamk/signal/commands/DaemonCommand.java

index 3d9953aed1ddf7e2d5d0efeea63155e291c70b03..3e453b5c0908ef086fbf6afce3a7314b39e61f48 100644 (file)
@@ -68,6 +68,7 @@ public class DaemonCommand implements MultiLocalCommand {
             var t = run(conn, objectPath, m, outputWriter, ignoreAttachments);
 
             conn.requestBusName(DbusConfig.getBusname());
+            logger.info("DBus daemon running in single-user mode for " + m.getSelfNumber());
 
             try {
                 t.join();
@@ -109,6 +110,7 @@ public class DaemonCommand implements MultiLocalCommand {
             }
 
             conn.requestBusName(DbusConfig.getBusname());
+            logger.info("DBus daemon running in anonymous mode");
 
             signalControl.run();
         } catch (DBusException | IOException e) {