Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
4.2 Backport of LoggerSilence#silence Threadsafety patch (see: PR #20507
) - Uses Logger instance defined level if no custom local log level defined - Keeps track of local log level per logger instance + thread id - Prevents memory leakage by removing local level hash key/value on #silence method exit - Test case for threadsafety issue added (and passes with these changes), based @rdubya's tests - Fixes #20490 and supersedes #16885
- Loading branch information
Showing
3 changed files
with
118 additions
and
2 deletions.
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
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