modified log operation