This is an automated email from the ASF dual-hosted git repository.
bharathkk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/samza.git
The following commit(s) were added to refs/heads/master by this push:
new b01b051 Remove flooding log (#1565)
b01b051 is described below
commit b01b05184f6dd28779f537b62991dc920a94b6c8
Author: Ziting <[email protected]>
AuthorDate: Wed Dec 1 12:18:48 2021 -0800
Remove flooding log (#1565)
Problem: User log is flooded by logging in PosixCommandBasedStatisticsGetter
Changes: change the log from info to debug
---
.../apache/samza/container/host/PosixCommandBasedStatisticsGetter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/samza-core/src/main/java/org/apache/samza/container/host/PosixCommandBasedStatisticsGetter.java
b/samza-core/src/main/java/org/apache/samza/container/host/PosixCommandBasedStatisticsGetter.java
index ad62eff..e704378 100644
---
a/samza-core/src/main/java/org/apache/samza/container/host/PosixCommandBasedStatisticsGetter.java
+++
b/samza-core/src/main/java/org/apache/samza/container/host/PosixCommandBasedStatisticsGetter.java
@@ -43,7 +43,7 @@ public class PosixCommandBasedStatisticsGetter implements
SystemStatisticsGetter
* @throws IOException
*/
private List<String> getAllCommandOutput(String[] cmdArray) throws
IOException {
- log.info("Executing commands {}", Arrays.toString(cmdArray));
+ log.debug("Executing commands {}", Arrays.toString(cmdArray));
Process executable = Runtime.getRuntime().exec(cmdArray);
BufferedReader processReader;
List<String> psOutput = new ArrayList<>();