1
0
Fork 0
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:
fatkodima 2019-09-08 03:21:37 +03:00 committed by Mike Perham
parent abf0fcbfcc
commit b5eb468c7c

View file

@ -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