Application Logging
Whoops is a free, self-hosted tool for logging application events like errors or background worker completion. Whoops might be right for you if you need to:
- Log arbitrary events, not just errors
- Search events
- Get notified of new events
- Store events behind a firewall
Learn more about Whoops's features.
Get Started in 60 Seconds on Heroku
To create a Whoops server, run the following:
git clone https://github.com/flyingmachine/whoops-bootstrap.git
cd whoops-bootstrap
heroku create --stack bamboo-ree-1.8.7
heroku addons:add mongolab:starter
git push heroku master
Now visit the URL printed after the heroku create step.
You can also follow more detailed instructions. for starting with a fresh Rails app.
To start logging exceptions in a Rails app:
- Add
whoops_rails_loggerto your Gemfile. - Create
config/whoops_logger.yml - Add something like the following to whoops_logger.yml:
production:
host: precious-bert-reynolds-mustache.heroku.com
