added logger for heroku debug