remove tail logs