logging - How can I access the Rails logger from an initializer? -


After the advice of

, I set my background process to the scheduler. Was placed in the initiator named RB. However, I have had a hard time getting the newly-processed procedures to log in to log in to the rail. Is there an easy way to access the same logs primarily to access the train's default logger methods (logger.info, etc.)?

  RAILS_DEFAULT_LOGGER.info "abc"  

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -