logging because not working on heroku