mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Do not reset the whole logger when format changes
This commit is contained in:
parent
abf0fcbfcc
commit
b5eb468c7c
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ module Sidekiq
|
||||||
|
|
||||||
def self.log_formatter=(log_formatter)
|
def self.log_formatter=(log_formatter)
|
||||||
@log_formatter = log_formatter
|
@log_formatter = log_formatter
|
||||||
@logger = nil
|
logger.formatter = log_formatter
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.logger
|
def self.logger
|
||||||
|
|
Loading…
Reference in a new issue