Improve logging for heroku