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

Reply via email to