Hello,
I have a backgrounDrb worker calling a ActiveRecord object, ex:
worker:
def process_campaign Campaign.process end
campaign.rb:
Campaign < ActiveRecord::Base …
…
def self.process logger.info(“Start processing…”) end
If I test in dev env, the line logger.info(“Start processing…”) throws the correct log info to development.log
However, in production the method process is called bu the log line is not written to production.log If I call the method process from a Controller, the log is written to production.log.
Can someone point me something where I should start looking?
Thank you