Fix logs in the error log