gem 'remote_syslog_logger'
Take the example initializers (see below) for Rails 2 and 3 and put the correct one in config/initializers/
.
$ heroku config:add SYSLOG_URL=syslog://host.name.com:port/program
If you don't have a syslog target, get one for free from Papertrail.
On your next deploy you will be logging to that syslog host.