[ 
https://issues.apache.org/jira/browse/WW-4082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart updated WW-4082:
------------------------------

    Fix Version/s:     (was: 2.3.18)
                   2.5.x

> 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.5.x
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to