cl error for logging