Removes logs and dbs