Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.1 Backport of LoggerSilence#silence Threadsafety patch (see: PR #20507) #22968

Merged

Commits on Jan 7, 2016

  1. 4.1 Backport of LoggerSilence#silence Threadsafety patch (see: PR rai…

    …ls#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 rails#20490 and supersedes rails#16885
    rabbitt committed Jan 7, 2016
    Configuration menu
    Copy the full SHA
    e713069 View commit details
    Browse the repository at this point in the history