Merge changes I38dad052,Ibc26d865
[dmaap/messagerouter/mirroragent.git] / src / main / java / com / att / nsa / dmaapMMAgent / MirrorMakerAgent.java
index a187d89..0113f6d 100644 (file)
@@ -447,13 +447,13 @@ public class MirrorMakerAgent {
                                        Thread.currentThread().interrupt();
                                }
                        } catch (IOException ex) {
                                        Thread.currentThread().interrupt();
                                }
                        } catch (IOException ex) {
-                               ex.printStackTrace();
+                               logger.error(" IOException Occered " + ex);
                        } finally {
                                if (out != null) {
                                        try {
                                                out.close();
                                        } catch (IOException e) {
                        } finally {
                                if (out != null) {
                                        try {
                                                out.close();
                                        } catch (IOException e) {
-                                               e.printStackTrace();
+                                               logger.error(" IOException Occered " + e);
                                        }
                                }
                        }
                                        }
                                }
                        }