Simplified log_err