Created
October 31, 2013 14:13
-
-
Save diegodurs/7250497 to your computer and use it in GitHub Desktop.
Logging in delayed Job
From http://stackoverflow.com/questions/14631910/logging-in-delayed-job
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Delayed::Worker.logger = Logger.new(File.join(Rails.root, 'log', 'dj.log')) | |
Delayed::Worker.logger.info "Debugging job" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku logs -t -a rightsup --ps worker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment