Redirecting Caught and Uncaught Exceptions to OSGI Console and Log File
[controller.git] / opendaylight / sal / api / src / main / java / org / opendaylight / controller / sal / action / Action.java
index b4f9cb58da7e800a115033deabb2662ee90bea40..5e4f5f81fa15ef92d044324c667f97c7ddbffccd 100644 (file)
@@ -88,7 +88,7 @@ public abstract class Action {
         } catch (Exception e) {
             logger.error(e.getMessage());
             if (debug) {
-                e.printStackTrace();
+                logger.error("",e);
             }
         }
     }