Bläddra i källkod

HADOOP-3399. A debug message was logged at info level. (rangadi)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@656939 13f79535-47bb-0310-9956-ffa450edef68
Raghu Angadi 17 år sedan
förälder
incheckning
e0e6801817
2 ändrade filer med 5 tillägg och 1 borttagningar
  1. 2 0
      CHANGES.txt
  2. 3 1
      src/java/org/apache/hadoop/ipc/Client.java

+ 2 - 0
CHANGES.txt

@@ -273,6 +273,8 @@ Trunk (unreleased changes)
     close its log, even if the scanner thread is not running. (lohit vijayarenu
     via cdouglas)
 
+    HADOOP-3399. A debug message was logged at info level. (rangadi)
+
 Release 0.17.0 - 2008-05-18
 
   INCOMPATIBLE CHANGES

+ 3 - 1
src/java/org/apache/hadoop/ipc/Client.java

@@ -283,7 +283,9 @@ public class Client {
       short ioFailures = 0;
       short timeoutFailures = 0;
       try {
-        LOG.info("Build a connection to "+remoteId.getAddress());
+        if (LOG.isDebugEnabled()) {
+          LOG.debug("Connecting to "+remoteId.getAddress());
+        }
         while (true) {
           try {
             this.socket = socketFactory.createSocket();