[ 
https://issues.apache.org/jira/browse/WW-4082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14089232#comment-14089232
 ] 

Lukasz Lenart commented on WW-4082:
-----------------------------------

I'm not sure if this is doable right now ... will leave it as idea for future

> 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