Trying to fix logging problem in heroku