diff options
Diffstat (limited to 'src/charon-svc/charon-svc.c')
-rw-r--r-- | src/charon-svc/charon-svc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/charon-svc/charon-svc.c b/src/charon-svc/charon-svc.c index 823b366c0..7201fae02 100644 --- a/src/charon-svc/charon-svc.c +++ b/src/charon-svc/charon-svc.c @@ -220,7 +220,8 @@ static void init_and_run(DWORD dwArgc, LPTSTR *lpszArgv, int (*wait)()) update_status(SERVICE_START_PENDING); if (libcharon_init()) { - charon->load_loggers(charon, levels, TRUE); + charon->set_default_loggers(charon, levels, TRUE); + charon->load_loggers(charon); print_version(); update_status(SERVICE_START_PENDING); if (charon->initialize(charon, PLUGINS)) |