How To Undo Log Function