Log error correction