Lately I’ve been working on my pet project StudyCache. It’s an online software as a service that will allow people to easily collect research data. The product itself has began nearing completion so I wanted to begin adding peripheral stuff to it. Logging solutions currently are great, but semi-expensive. So I decided to quickly roll my own Heroku log feed using python. Using only my API key I was able to quickly parse all the logs and create a tornado JSON service to spit them all out on request. It was super straight forward, and can be found on my github! Check it out here.
While the solution itself isn’t super elegant. It does work which counts for 95% of what I’ll be using it for. Another plus to this small solution is the feed program itself is deployable on Heroku! That way you have a publicly accessible way of accessing your logs. I wouldn’t recommend doing a straight deploy of my little service, but it should after adding some security it should be a straightforward solution for rolling your own Heroku log feed.