[CONTROLLER-838] Clustering : Ensure that all logging at debug level is done conditionally Created: 15/Sep/14  Updated: 16/Sep/14  Resolved: 16/Sep/14

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: Helium
Fix Version/s: None

Type: Bug
Reporter: Moiz Raja Assignee: Harman Singh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Mac OS
Platform: PC


External issue ID: 1883
Priority: Normal

 Description   

This is required for performance reasons.

Basically instead of simply doing.

LOG.debug("Foo {}", bigcalc());

do

if(LOG.isDebugEnabled()){
LOG.debug("Foo {}", bigcalc());
}

This bug applies to code in,

sal-clustering-commons
sal-akka-raft
sal-distributed-datastore



 Comments   
Comment by Moiz Raja [ 16/Sep/14 ]

https://git.opendaylight.org/gerrit/#/c/11218/

Generated at Wed Feb 07 19:54:00 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.