Resque logs are not written

12 views
Skip to first unread message

Rafi A

unread,
Feb 16, 2015, 2:30:30 AM2/16/15
to rubyonra...@googlegroups.com
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.



Regards,
Seeni Rafiyullah Khan A,
In Every moment, thank God.
Reply all
Reply to author
Forward
0 new messages