summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java b/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java
index 86a653d..23fd99f 100644
--- a/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java
+++ b/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java
@@ -111,7 +111,7 @@ public class MirrorMakerAgent {
try {
input.close();
} catch (IOException e) {
- e.printStackTrace();
+ logger.error("exception occured in checkStartup "+e);
}
}
}
@@ -128,7 +128,7 @@ public class MirrorMakerAgent {
try {
input.close();
} catch (IOException e) {
- e.printStackTrace();
+ logger.error("exception occured in checkStartup "+e);
}
}
}
@@ -176,7 +176,7 @@ public class MirrorMakerAgent {
prop.store(out, "");
} catch (Exception e) {
- e.printStackTrace();
+ logger.error("exception occured in checkPropertiesFile "+e);
}
} finally {
if (input != null) {
@@ -190,7 +190,7 @@ public class MirrorMakerAgent {
try {
out.close();
} catch (IOException e) {
- e.printStackTrace();
+ logger.error("exception occured in checkPropertiesFile "+e);
}
}
}