Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check logging verbosity before evaluating format parameters
Vast majority of diagnostic logging from mce is not emitted to journal on default verbosity. Spending cpu time evaluating format parameters and pushing them to stack just to be discarded makes no sense. Now verbosity level is checked 1st and potentially time consuming parameter evaluation is done only if the message is going to be emitted to the journal. [mce] Check logging verbosity before evaluating format parameters. Fixes JB#22310
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters