Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
2.3.14.2
-
None
-
None
Description
The idea is to have a dedicated flag struts.devMode.exception = true/false to show or not exception in devMode. Thus can be achieved by extending Logger class and adding two new methods
- warnDev(String, Throwable, Object...)
- errorDev(String, Throwable, Object...)
which will add exception's stacktrace to logs base on the flags