hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdoug...@apache.org
Subject svn commit: r742801 - in /hadoop/core/trunk: CHANGES.txt src/contrib/chukwa/src/java/org/apache/hadoop/chukwa/datacollection/sender/ChukwaHttpSender.java
Date Tue, 10 Feb 2009 00:29:49 GMT
Author: cdouglas
Date: Tue Feb 10 00:29:48 2009
New Revision: 742801

URL: http://svn.apache.org/viewvc?rev=742801&view=rev
Log:
HADOOP-5038. Direct daemon trace to debug log instead of stdout. Contributed by Jerome Boulon

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/contrib/chukwa/src/java/org/apache/hadoop/chukwa/datacollection/sender/ChukwaHttpSender.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=742801&r1=742800&r2=742801&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Tue Feb 10 00:29:48 2009
@@ -85,6 +85,9 @@
     HADOOP-5122. Fix format of fs.default.name value in libhdfs test conf.
     (Craig Macdonald via tomwhite)
 
+    HADOOP-5038. Direct daemon trace to debug log instead of stdout. (Jerome
+    Boulon via cdouglas)
+
   OPTIMIZATIONS
 
   BUG FIXES

Modified: hadoop/core/trunk/src/contrib/chukwa/src/java/org/apache/hadoop/chukwa/datacollection/sender/ChukwaHttpSender.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/chukwa/src/java/org/apache/hadoop/chukwa/datacollection/sender/ChukwaHttpSender.java?rev=742801&r1=742800&r2=742801&view=diff
==============================================================================
--- hadoop/core/trunk/src/contrib/chukwa/src/java/org/apache/hadoop/chukwa/datacollection/sender/ChukwaHttpSender.java
(original)
+++ hadoop/core/trunk/src/contrib/chukwa/src/java/org/apache/hadoop/chukwa/datacollection/sender/ChukwaHttpSender.java
Tue Feb 10 00:29:48 2009
@@ -267,7 +267,9 @@
     BufferedReader br = new BufferedReader(new InputStreamReader(rstream));
     String line;
     while ((line = br.readLine()) != null) {
-      System.out.println("response: " + line);
+      if (log.isDebugEnabled()) {
+        log.debug("response: " + line);
+      }
     }
   }
   



Mime
View raw message