Add $stdout.sync = true for logging on heroku