make log optional
allow re-add hosts in database.json