sets logging to stdout on heroku
bug-fix: DOMAIN env var not used correctly