Peer: Demote logging of alert messages to debug. They're not important any more now that they're deprecated.

This commit is contained in:
Andreas Schildbach 2017-08-14 16:07:18 +02:00
parent 3c9cb34162
commit 9c49fd5692

View file

@ -643,9 +643,9 @@ public class Peer extends PeerSocketHandler {
protected void processAlert(AlertMessage m) {
try {
if (m.isSignatureValid()) {
log.info("Received alert from peer {}: {}", this, m.getStatusBar());
log.debug("Received alert from peer {}: {}", this, m.getStatusBar());
} else {
log.warn("Received alert with invalid signature from peer {}: {}", this, m.getStatusBar());
log.debug("Received alert with invalid signature from peer {}: {}", this, m.getStatusBar());
}
} catch (Throwable t) {
// Signature checking can FAIL on Android platforms before Gingerbread apparently due to bugs in their