views:

99

answers:

1

Following the advice from my previous question, I placed my background process in an initializer named scheduler.rb. However, I'm having a hard time getting the newly-scheduled processes to log to the Rails logs. Is there a simple way for me to access the same logs from the initializer, preferably by accessing Rails' default logger methods (logger.info, etc)?

+3  A: 
RAILS_DEFAULT_LOGGER.info "abc"
St.Woland