Revision 507372bb tests/MonTest/MonTest.c

View differences:

tests/MonTest/MonTest.c
25 25

  
26 26
#include "ml.h"
27 27
#include "mon.h"
28
#include "grapes_log.h"
29
#include "grapes.h"
28
#include "napa_log.h"
29
#include "napa.h"
30 30
#include "repoclient.h"
31 31

  
32 32
int active = 0; // active or passive?
......
267 267

  
268 268
	printf("Running conf:\nIP: %s\nSTUN: %s\nREPO: %s\nACTIVE: %s\nVERBOSITY: %d\n", bind_ip ? bind_ip:"auto", stun_server, repository, active ? "active" : "passive", verbosity);
269 269

  
270
	//Init grapes: log facility and libevent
271
	grapesInit(event_base_new());
270
	//Init napa: log facility and libevent
271
	napaInit(event_base_new());
272 272

  
273 273
	// Initialize logging
274
	grapesInitLog(verbosity, NULL, NULL);
274
	napaInitLog(verbosity, NULL, NULL);
275 275

  
276 276
	//Init monitoring layer
277 277
	monInit(eventbase, NULL);

Also available in: Unified diff