Resque logs are not written

Hi,

I am using the gem ‘Resque’ for doing the background jobs in my application. After creating the job from controller, no logs are written in the corresponding resque log file, but job is executing successfully.

I have placed the below lines in one of the initialization file.

Resque.logger = MonoLogger.new(File.open("#{Rails.root}/log/resque.log", "w+"))
Resque.logger.formatter = Resque::QuietFormatter.new

Please let me know if I went wrong anywhere.