Actions
Bug #16649
closedPrevent logger string interpolation when logger is not configured in the used level
Status:
Rejected
Priority:
N/A
Assignee:
Category:
Performance and scalability
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
We are sometime doing complex evaluations in logger.trace (or even debug), that can eat up some ressources (big string, sorting collection, etc)
We could simply avoid evaluating these by if (logger.isDebugEnabled) on the previous line
Actions