change ERROR_FILE into ERROR_LOG