refactor swamp logs and lod files