]> nmode's Git Repositories - signal-cli/commitdiff
changing most DBus logger.info to logger.debug
authorJohn Freed <okgithub@johnfreed.com>
Fri, 15 Oct 2021 06:20:03 +0000 (08:20 +0200)
committerJohn Freed <okgithub@johnfreed.com>
Fri, 15 Oct 2021 06:20:03 +0000 (08:20 +0200)
src/main/java/org/asamk/signal/commands/DaemonCommand.java
src/main/java/org/asamk/signal/dbus/DbusSignalImpl.java

index 02063b8721fbc7bea4de1ceb08ca0c948f3ab329..3d9953aed1ddf7e2d5d0efeea63155e291c70b03 100644 (file)
@@ -125,7 +125,7 @@ public class DaemonCommand implements MultiLocalCommand {
         final var initThread = new Thread(signal::initObjects);
         initThread.start();
 
         final var initThread = new Thread(signal::initObjects);
         initThread.start();
 
-        logger.info("Exported dbus object: " + objectPath);
+        logger.debug("Exported dbus object: " + objectPath);
 
         final var thread = new Thread(() -> {
             while (!Thread.interrupted()) {
 
         final var thread = new Thread(() -> {
             while (!Thread.interrupted()) {
index 1f1f954f00b59a6dd73bbfe1a437c1a79ef8bb33..fae07bc60abf8f284735d855bace11210ab7f7b9 100644 (file)
@@ -837,7 +837,7 @@ public class DbusSignalImpl implements Signal {
             final var deviceObjectPath = object.getObjectPath();
             try {
                 connection.exportObject(object);
             final var deviceObjectPath = object.getObjectPath();
             try {
                 connection.exportObject(object);
-                logger.info("Exported dbus object: " + deviceObjectPath);
+                logger.debug("Exported dbus object: " + deviceObjectPath);
             } catch (DBusException e) {
                 e.printStackTrace();
             }
             } catch (DBusException e) {
                 e.printStackTrace();
             }
@@ -874,7 +874,7 @@ public class DbusSignalImpl implements Signal {
             final var object = new DbusSignalGroupImpl(g.getGroupId());
             try {
                 connection.exportObject(object);
             final var object = new DbusSignalGroupImpl(g.getGroupId());
             try {
                 connection.exportObject(object);
-                logger.info("Exported dbus object: " + object.getObjectPath());
+                logger.debug("Exported dbus object: " + object.getObjectPath());
             } catch (DBusException e) {
                 e.printStackTrace();
             }
             } catch (DBusException e) {
                 e.printStackTrace();
             }
@@ -909,7 +909,7 @@ public class DbusSignalImpl implements Signal {
         try {
             configuration = m.getConfiguration();
         } catch (NotMasterDeviceException e) {
         try {
             configuration = m.getConfiguration();
         } catch (NotMasterDeviceException e) {
-            logger.info("Not exporting Configuration for " + m.getSelfNumber() + ": " + e.getMessage());
+            logger.debug("Not exporting Configuration for " + m.getSelfNumber() + ": " + e.getMessage());
             return;
         } catch (IOException e) {
             throw new Error.IOError(objectPath + e.getMessage());
             return;
         } catch (IOException e) {
             throw new Error.IOError(objectPath + e.getMessage());
@@ -954,7 +954,7 @@ public class DbusSignalImpl implements Signal {
             m.updateConfiguration(readReceipts, unidentifiedDeliveryIndicators, typingIndicators, linkPreviews);
             final var object = new DbusSignalConfigurationImpl(readReceipts, unidentifiedDeliveryIndicators, typingIndicators, linkPreviews);
             connection.exportObject(object);
             m.updateConfiguration(readReceipts, unidentifiedDeliveryIndicators, typingIndicators, linkPreviews);
             final var object = new DbusSignalConfigurationImpl(readReceipts, unidentifiedDeliveryIndicators, typingIndicators, linkPreviews);
             connection.exportObject(object);
-            logger.info("Exported dbus object: " + objectPath + "/Configuration");
+            logger.debug("Exported dbus object: " + objectPath + "/Configuration");
         } catch (NotMasterDeviceException ignore) {
             /* already caught */
         } catch (IOException e) {
         } catch (NotMasterDeviceException ignore) {
             /* already caught */
         } catch (IOException e) {