]> nmode's Git Repositories - signal-cli/blobdiff - src/main/java/org/asamk/signal/dbus/DbusSignalImpl.java
changing most DBus logger.info to logger.debug
[signal-cli] / src / main / java / org / asamk / signal / dbus / DbusSignalImpl.java
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) {