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.*

-- 
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 [email protected].
To post to this group, send email to [email protected].
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.

Reply via email to