Change error type log