Removed unnecessary code from LogPage