Details
-
Improvement
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Better yet, use parameterized messages
Will outperform the first form by a factor of at least 30, in case of a disabled logging statement.
- Use parameterized logging where appropriate
- Add logging guards if (Log.isDebugEnabled() around loops and complex debug message
Simplify the code, remove lines of code, and potentially increase performance