log swap reset operation