Ruby on Rails
Sunday, February 15, 2015
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.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.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2BfXU%2B0nUZyrYUhqROFwSb3zV1Err-OdKApiFBNYvgEbkqw%3Djw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment