Skip to content

Commit d0311c8

Browse files
committed
modify errorOutput
1 parent 39bba6d commit d0311c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samza-core/src/main/java/org/apache/samza/container/host/PosixCommandBasedStatisticsGetter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private List<String> getAllCommandOutput(String[] cmdArray) throws IOException {
6262
// Consume error stream to prevent blocking
6363
StringBuilder errorOutput = new StringBuilder();
6464
while ((line = errorReader.readLine()) != null) {
65-
log.error("stderr while running {}: {}", cmdArray, line);
65+
errorOutput.append(line).append("\n");
6666
}
6767

6868
if (!line.isEmpty()) {

0 commit comments

Comments
 (0)