tags:

views:

12

answers:

2

While running on Heroku, I would like to be able to put key information via, say, puts or other such statement, to write to a log file.

But Heroku doesn't allow writing to a file, so what is a way to do this easily?

+1  A: 

Heroku recommends that you use an external service like Hoptoad or Get Exceptional.

mipadi
A: 

Anything you do would have to be done by interaction with the database, or via an HTTP interaction with an outside app. Those are the only ways to persist information as the platform stands right now. Personally if I had to have logging and Hoptoad (et. al.) wouldn't work, I'd log to the db. That's not a great way of doing things though.

tfe