daemon: Use separate method to set default loggers

This way it is not necessary to pass the same values to reload the
loggers.
This commit is contained in:
Tobias Brunner
2017-01-25 14:58:09 +01:00
parent ff22d53ba9
commit 9665686bd8
13 changed files with 86 additions and 50 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ static bool test_runner_init(bool init)
libcharon_init();
lib->settings->set_int(lib->settings,
"test-runner.filelog.stdout.default", 0);
charon->load_loggers(charon, NULL, FALSE);
charon->load_loggers(charon);
/* Register TKM specific plugins */
static plugin_feature_t features[] = {