lib/loga/configuration.rb in loga-2.5.2 vs lib/loga/configuration.rb in loga-2.5.3
- old
+ new
@@ -77,9 +77,10 @@
def environment_options
{ format: ENV['LOGA_FORMAT'].presence }.reject { |_, v| v.nil? }
end
+ # Note: sidekiq 6 will extend the logger -> https://github.com/mperham/sidekiq/blob/v6.1.2/lib/sidekiq.rb#L210
def initialize_logger
device.sync = sync
logger = Logger.new(device)
logger.formatter = assign_formatter
logger.level = constantized_log_level