Added logger for exception log 61/75261/1
authorChandan Ghosh <cghosh12@in.ibm.com>
Fri, 4 Jan 2019 07:09:42 +0000 (12:39 +0530)
committerChandan Ghosh <cghosh12@in.ibm.com>
Fri, 4 Jan 2019 07:09:53 +0000 (12:39 +0530)
Added logger for exception log. Reported in sonar

Issue-ID: DMAAP-927
Change-Id: If3cf309c84ad931715f007a68747a51142f0db15
Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
src/main/java/org/onap/dmaap/mr/dmaapMMAgent/utils/MirrorMakerProcessHandler.java

index 21a3974..5246ce9 100644 (file)
@@ -97,7 +97,7 @@ public class MirrorMakerProcessHandler {
                        //      }
                        }
                } catch (Exception e) {
-                       e.printStackTrace();
+                       logger.error("Error occured in MirrorMakerProcessHandler.checkMirrorMakerProcess"+e);
                }
                return false;
        }

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use