fix logging for Heroku