Log up to 1K of buffer content if decoding fails