lib/ezlog/railtie.rb in ezlog-0.2.1 vs lib/ezlog/railtie.rb in ezlog-0.2.2
- old
+ new
@@ -19,12 +19,9 @@
end
private
def initialize_sidekiq_logging
- require 'ezlog/sidekiq/job_logger'
- require 'ezlog/sidekiq/error_logger'
-
::Sidekiq.logger = ::Logging.logger['Sidekiq']
::Sidekiq.logger.level = :info
::Sidekiq.configure_server do |config|
config.options[:job_logger] = Ezlog::Sidekiq::JobLogger
config.error_handlers << Ezlog::Sidekiq::ErrorLogger.new