novitski / bitcoinj

Automatically exported from code.google.com/p/bitcoinj
Apache License 2.0
0 stars 0 forks source link

Log pongs as debug, not info #352

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
commit 0e54e5728a58a366ca101cebcf037a4c75c45bdb (HEAD, refs/heads/master)
Author: ken@bamfic.com
Date:   Sat Mar 16 19:44:05 2013 -0700

    Use debug not info; the logs get spammed too much otherwise.

    Modified   core/src/main/java/com/google/bitcoin/core/Peer.java
diff --git a/core/src/main/java/com/google/bitcoin/core/Peer.java 
b/core/src/main/java/com/google/bitcoin/core/Peer.java
index 2c81ba7..3b64c1a 100644
--- a/core/src/main/java/com/google/bitcoin/core/Peer.java
+++ b/core/src/main/java/com/google/bitcoin/core/Peer.java
@@ -1197,7 +1197,7 @@ public class Peer {
     }

     private void processPong(Pong m) {
-        log.info("{}: pong! {}", this, m.getNonce());
+        log.debug("{}: pong! {}", this, m.getNonce());
         // Iterates over a snapshot of the list, so we can run unlocked here.
         for (PendingPing ping : pendingPings) {
             if (m.getNonce() == ping.nonce) {

Original issue reported on code.google.com by k...@bamfic.com on 17 Mar 2013 at 2:48

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 311e0549b9f6.

Original comment by hearn@google.com on 18 Mar 2013 at 9:44