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
Post a Comment