Log upload error stable6

backport #8671 

@karlitschek @PVince81 @ser72