From b6688e0be2295a96f089b7692e655bdfb0442165 Mon Sep 17 00:00:00 2001 From: Chandan Ghosh Date: Fri, 4 Jan 2019 12:52:52 +0530 Subject: Replaced std out to logger Replaced std out with logger reported in sonar Issue-ID: DMAAP-927 Change-Id: I5203d7700389ce5c67b15be8ef08fcae721891c9 Signed-off-by: Chandan Ghosh --- .../org/onap/dmaap/mr/dmaapMMAgent/utils/MirrorMakerProcessHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/org/onap') diff --git a/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/utils/MirrorMakerProcessHandler.java b/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/utils/MirrorMakerProcessHandler.java index 21a3974..37e0981 100644 --- a/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/utils/MirrorMakerProcessHandler.java +++ b/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/utils/MirrorMakerProcessHandler.java @@ -55,7 +55,7 @@ public class MirrorMakerProcessHandler { BufferedReader br = new BufferedReader(isr); while ((line = br.readLine()) != null) { - System.out.println(line); + logger.info(line); // if (line.contains("agentname=" + agentname) && line.contains("/bin/sh -c") == false) { //If enablelogCheck Check MirrorMaker log for errors and restart mirrormaker -- cgit 1.2.3-korg