[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 |
||
| 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()){ This bug applies to code in, sal-clustering-commons |
| Comments |
| Comment by Moiz Raja [ 16/Sep/14 ] |