You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2013/05/27 08:56:19 UTC
[jira] [Created] (WW-4082) Add new struts.devMode.exception flag
and dedicated LOG.warnDev() and LOG.errorDev()
Lukasz Lenart created WW-4082:
---------------------------------
Summary: Add new struts.devMode.exception flag and dedicated LOG.warnDev() and LOG.errorDev()
Key: WW-4082
URL: https://issues.apache.org/jira/browse/WW-4082
Project: Struts 2
Issue Type: Improvement
Components: "New" API
Affects Versions: 2.3.14.2
Reporter: Lukasz Lenart
Priority: Minor
Fix For: 2.3.16
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira