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 2014/03/27 12:16:22 UTC

[jira] [Updated] (WW-4082) Add new struts.devMode.exception flag and dedicated LOG.warnDev() and LOG.errorDev()

     [ 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.17)
                   2.3.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.3.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)