Revision 02f0b9c3 src/net_helper-ml.c

View differences:

src/net_helper-ml.c
359 359
	int stun_port = 3478;
360 360
	const char *repo_address = "79.120.193.115:9832";
361 361
	int publish_interval = 60;
362
	int verbosity = DCLOG_ERROR;
362 363

  
363 364
#ifndef WIN32
364 365
	signal(SIGPIPE, SIG_IGN); // workaround for a known issue in libevent2 with SIGPIPE on TPC connections
......
384 385
	
385 386
	config_value_int(cfg_tags, "publish_interval", &publish_interval);
386 387

  
388
	config_value_int(cfg_tags, "verbosity", &verbosity);
389

  
387 390
	me = malloc(sizeof(nodeID));
388 391
	if (me == NULL) {
389 392
		return NULL;
......
412 415
	eventbase = base;
413 416

  
414 417
	// Initialize logging
415
	grapesInitLog(DCLOG_WARNING, NULL, NULL);
418
	grapesInitLog(verbosity, NULL, NULL);
416 419

  
417 420
	repInit("");
418 421
	repoclient = repOpen(repo_address, publish_interval);	//repository.napa-wine.eu

Also available in: Unified diff