Skip to content

Commit

Permalink
Resque log level now matches Rails log level
Browse files Browse the repository at this point in the history
  • Loading branch information
elohanlon committed Dec 24, 2024
1 parent 9e08b40 commit f0dad52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/initializers/resque.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

# Set resque to log to a file
Resque.logger = Logger.new(Rails.root.join('log', "#{Rails.env}_resque.log"))
Resque.logger.level = Logger::INFO
# Match the Rails logger level
Resque.logger.level = Rails.logger.level

redis_config = Rails.application.config_for(:redis)

Expand Down

0 comments on commit f0dad52

Please sign in to comment.