rm log dir
rm swap and log dir