From 3a4925a3b47e581fc4212e0253c1dbfc90d371b1 Mon Sep 17 00:00:00 2001 From: Julius Pfrommer Date: Fri, 10 Nov 2023 03:12:28 +0100 Subject: [PATCH] use logging pointer from the server config --- backends/open62541/src/import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/open62541/src/import.c b/backends/open62541/src/import.c index 01f092a..e837296 100644 --- a/backends/open62541/src/import.c +++ b/backends/open62541/src/import.c @@ -595,7 +595,7 @@ bool NodesetLoader_loadFile(struct UA_Server *server, const char *path, UA_ServerConfig *config = UA_Server_getConfig(server); NodesetLoader_Logger *logger = (NodesetLoader_Logger *)calloc(1, sizeof(NodesetLoader_Logger)); - logger->context = &config->logger; + logger->context = config->logging; logger->log = &logToOpen; NL_ReferenceService *refService = RefServiceImpl_new(server);