aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/daemon.c')
-rw-r--r--Source/charon/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/charon/daemon.c b/Source/charon/daemon.c
index 6455dc205..1bc8057f0 100644
--- a/Source/charon/daemon.c
+++ b/Source/charon/daemon.c
@@ -262,7 +262,7 @@ private_daemon_t *daemon_create()
/* first build a logger */
this->public.logger_manager = logger_manager_create(DEFAULT_LOGLEVEL);
- this->logger = (this->public.logger_manager)->create_logger(this->public.logger_manager, DAEMON, NULL);
+ this->logger = (this->public.logger_manager)->get_logger(this->public.logger_manager, DAEMON);
/* NULL members for clean destruction */
this->public.socket = NULL;