fix logging with foreman

https://devcenter.heroku.com/articles/ruby#logging