Clean un-used logs and imports