log operation taking more than 1 second