Soften some logging.

// FREEBIE
This commit is contained in:
Moxie Marlinspike 2015-07-30 13:25:29 -07:00
parent d4e618893c
commit 20dc32413f
2 changed files with 4 additions and 2 deletions

View File

@ -110,7 +110,7 @@ public class DispatchManager extends Thread {
if (subscription.isPresent()) {
dispatchSubscription(reply.getChannel(), subscription.get());
} else {
logger.warn("Received subscribe event for non-existing channel: " + reply.getChannel());
logger.info("Received subscribe event for non-existing channel: " + reply.getChannel());
}
}

View File

@ -175,7 +175,9 @@ public class MessageController {
message.get().getTimestamp(),
Optional.fromNullable(message.get().getRelay()));
}
} catch (NoSuchUserException | NotPushRegisteredException | TransientPushFailureException e) {
} catch (NotPushRegisteredException e) {
logger.info("User no longer push registered for delivery receipt: " + e.getMessage());
} catch (NoSuchUserException | TransientPushFailureException e) {
logger.warn("Sending delivery receipt", e);
}
}