[
https://issues.apache.org/jira/browse/OFBIZ-10049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Brohl closed OFBIZ-10049.
---------------------------------
Resolution: Not A Problem
According to the discussion in the dev mailing list [1] it is better to keep the loglevel conditions for performance reasons.
[1]
https://lists.apache.org/thread.html/79d2a14521f5e36ca15f254e715f89dd136d63d85efce9b44fb56a85@%3Cdev.ofbiz.apache.org%3E> Remove unnecessary Debug.is[Loglevel]On() conditions
> ----------------------------------------------------
>
> Key: OFBIZ-10049
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10049> Project: OFBiz
> Issue Type: Improvement
> Components: ALL COMPONENTS
> Affects Versions: Trunk
> Reporter: Michael Brohl
> Assignee: Michael Brohl
> Priority: Minor
>
> Our codebase contains a lot of Debug.is[Loglevel]On() conditions before the logging code line. This is not necessary because it is done implicitly in every Debug.log[Loglevel]() method.
> These conditions should be removed from the codebase.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)