remove db and logger