cloudfoundry/dea_ng — pull request #91 by sykesm (2013-12-17 14:13:50+00:00)
Title: Emit staging messages even when staging fails

Prior to loggregator, staging output was provided to the user by tailing the logs generated during staging. This pattern enabled end users to see messages generated while staging was in-flight and included messages related to failures in staging, but the newer Loggregator paths only emit staging messages when staging completes successfully.

This change will cause staging messages to be emitted even when staging fails but it still requires the staging task to complete.

For what it's worth, I believe the *right* way to do this is to stream the log data as staging is running. I'll be looking into that but the lack of any diagnostics from a failed staging attempt is painful so this is an interim step.