Log to loggregator when uploading fails

Signed-off-by: Phan Le <ple@pivotallabs.com>
upload and download report byte size

Signed-off-by: Phan Le <ple@pivotallabs.com>