Skip to content

Commit

Permalink
use logging pointer from the server config
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfr committed Nov 10, 2023
1 parent f052d60 commit 3a4925a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/open62541/src/import.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 3a4925a

Please sign in to comment.