add log for operation