Skip to content

Commit

Permalink
silence background worker logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Dec 20, 2019
1 parent 4935c76 commit 6ec0c93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
File renamed without changes.
5 changes: 2 additions & 3 deletions config/initializers/_shoryuken.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ def call(worker_instance, queue, sqs_msg, body)

Shoryuken.configure_server do |config|
config.server_middleware do |chain|
# remove logging of timing events
chain.remove Shoryuken::Middleware::Server::Timing
chain.add Shoryuken::Middleware::Server::RavenReporter
end

Rails.logger = Shoryuken::Logging.logger
Rails.logger.level = Logger.const_get(ENV["LOG_LEVEL"].upcase)
end

Shoryuken.active_job_queue_name_prefixing = true

0 comments on commit 6ec0c93

Please sign in to comment.