I've had some trouble lately debugging application crashes using loggregator. I realized that crashlogs would have given me more data to help with my diagnosis.
I'm running 173.
Test Case:
Push an application with a command that you know will fail.
gcf push test-crash -c "bad command"
After it fails use the old ruby cli or hit the crashlogs api directly. Look at stderr.log. I see:
cf crashlogs test-crash
stderr.log:
"/bin/bash: line 26: bad: command not found"
If you look in loggregator you don't see this error anywhere.
Thoughts? Perhaps loggregator isn't attaching to an apps stderr fast enough? Is this a known issue?
Mike