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);