log_str2level
int log_str2level(const char *lvl);
options->loglevel = log_str2level(optarg);
options->loglvl = log_str2level(optarg);