[jira] [Commented] (OFBIZ-10697) ControlEventListener improvement: check debug level

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-10697) ControlEventListener improvement: check debug level

Nicolas Malin (Jira)

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

Michael Brohl commented on OFBIZ-10697:
---------------------------------------

We have several projects with huge traffic and you certainly won't run them on debug level info, verbose or debug.

In my view, at least these 3 debug levels should be checked. At least, existing checks should not be removed.

> ControlEventListener improvement: check debug level
> ---------------------------------------------------
>
>                 Key: OFBIZ-10697
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10697
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk, Release Branch 17.12
>            Reporter: Michael Brohl
>            Assignee: Michael Brohl
>            Priority: Minor
>
> The Debug.logXXX statements should be preceded with a check for the debug level to optimize the performance.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)