Add log operation