1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

reset log for tools

This commit is contained in:
Steffen Vogel 2015-09-30 11:10:29 +02:00
parent e9cdd7dc93
commit c25030f373
3 changed files with 5 additions and 0 deletions

View file

@ -89,6 +89,8 @@ int main(int argc, char *argv[])
sigaction(SIGINT, &sa_quit, NULL);
list_init(&nodes, (dtor_cb_t) node_destroy);
log_reset();
config_init(&config);
config_parse(argv[optind], &config, &set, &nodes, NULL);

View file

@ -89,6 +89,8 @@ int main(int argc, char *argv[])
sigaction(SIGINT, &sa_quit, NULL);
list_init(&nodes, (dtor_cb_t) node_destroy);
log_reset();
config_init(&config);
config_parse(argv[optind], &config, &set, &nodes, NULL);

View file

@ -88,6 +88,7 @@ int main(int argc, char *argv[])
sigaction(SIGTERM, &sa_quit, NULL);
sigaction(SIGINT, &sa_quit, NULL);
log_reset();
config_init(&config);
config_parse(argv[1], &config, &settings, &nodes, NULL);