log to find error