add logging for heroku debugging