implemented 'remove log' functionality