log error accurate