top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

RoR: Resque logs are not written

+2 votes
190 views

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.

posted Feb 16, 2015 by Deepankar Dubey

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
0 votes

I need to display some charts/graphs based upon user inputs on my web application built using Ruby on Rails.
Are there any charting libraries out there that I could use with ROR for displaying simple bar, line and pie graphs?

0 votes

I have a default message in a form ( I used the placeholder attribute).
Unfortunately, when I submit a form it doesnt like this attribute (that field must appear blank), because if I type over it it works.

Is there something else I should use besides the placeholder attribute?

+1 vote

I deployed one small app in heroku built on ROR, now I want to send mails. How is it possible can anyone give me a details how to do it.

+2 votes

Need help from all of you guys on a question that can we develop a Kisok App using ROR.

If yes please share the details or possible link.

...