diff options
author | Chandan Ghosh <cghosh12@in.ibm.com> | 2019-01-04 12:52:52 +0530 |
---|---|---|
committer | Chandan Ghosh <cghosh12@in.ibm.com> | 2019-01-04 12:52:58 +0530 |
commit | b6688e0be2295a96f089b7692e655bdfb0442165 (patch) | |
tree | bbeb3318c398f8e073bba302f39ee4decac671f9 /src/main/java/org/onap | |
parent | b07822276c0bba8896d05555094c6e53f69ca2fb (diff) |
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 <cghosh12@in.ibm.com>
Diffstat (limited to 'src/main/java/org/onap')
-rw-r--r-- | src/main/java/org/onap/dmaap/mr/dmaapMMAgent/utils/MirrorMakerProcessHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 |