cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [16/30] git commit: updated refs/heads/master to 64ff67d
Date Fri, 14 Aug 2015 19:47:39 GMT
CLOUDSTACK-8656: message about timed buffer logging

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/08e6e163
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/08e6e163
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/08e6e163

Branch: refs/heads/master
Commit: 08e6e1633c25dff2d91743a1ec75c55a079d82b9
Parents: 4213a22
Author: Daan Hoogland <daan@onecht.net>
Authored: Fri Aug 14 13:29:35 2015 +0200
Committer: Daan Hoogland <daan@onecht.net>
Committed: Fri Aug 14 13:29:35 2015 +0200

----------------------------------------------------------------------
 utils/src/com/cloud/utils/script/OutputInterpreter.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/08e6e163/utils/src/com/cloud/utils/script/OutputInterpreter.java
----------------------------------------------------------------------
diff --git a/utils/src/com/cloud/utils/script/OutputInterpreter.java b/utils/src/com/cloud/utils/script/OutputInterpreter.java
index 0153d57..654f87e 100644
--- a/utils/src/com/cloud/utils/script/OutputInterpreter.java
+++ b/utils/src/com/cloud/utils/script/OutputInterpreter.java
@@ -19,11 +19,11 @@
 
 package com.cloud.utils.script;
 
-import org.apache.log4j.Logger;
-
 import java.io.BufferedReader;
 import java.io.IOException;
 
+import org.apache.log4j.Logger;
+
 /**
  */
 public abstract class OutputInterpreter {
@@ -50,6 +50,7 @@ public abstract class OutputInterpreter {
     };
 
     public static class TimedOutLogger extends OutputInterpreter {
+        private static final Logger s_logger = Logger.getLogger(TimedOutLogger.class);
         Process _process;
 
         public TimedOutLogger(Process process) {
@@ -76,6 +77,7 @@ public abstract class OutputInterpreter {
                     buff.append(reader.readLine());
                 }
             } catch (IOException e) {
+                s_logger.info("[ignored] can not append line to buffer",e);
             }
 
             return buff.toString();


Mime
View raw message