set up loalevel enum
use discovery token path