Add logging
Add stdout sync for heroku logging