|
@@ -79,42 +79,42 @@ void UA_Session_answerPublishRequestsWithoutSubscription(UA_Session *session);
|
|
|
UA_LOG_TRACE(LOGGER, UA_LOGCATEGORY_SESSION, "Connection %i | SecureChannel %i | Session " UA_PRINTF_GUID_FORMAT " | " MSG, \
|
|
|
(SESSION->channel ? (SESSION->channel->connection ? SESSION->channel->connection->sockfd : 0) : 0), \
|
|
|
(SESSION->channel ? SESSION->channel->securityToken.channelId : 0), \
|
|
|
- UA_PRINTF_GUID_DATA(SESSION->sessionId), \
|
|
|
+ UA_PRINTF_GUID_DATA(SESSION->sessionId.identifier.guid), \
|
|
|
##__VA_ARGS__);
|
|
|
|
|
|
#define UA_LOG_DEBUG_SESSION(LOGGER, SESSION, MSG, ...) \
|
|
|
UA_LOG_DEBUG(LOGGER, UA_LOGCATEGORY_SESSION, "Connection %i | SecureChannel %i | Session " UA_PRINTF_GUID_FORMAT " | " MSG, \
|
|
|
(SESSION->channel ? (SESSION->channel->connection ? SESSION->channel->connection->sockfd : 0) : 0), \
|
|
|
(SESSION->channel ? SESSION->channel->securityToken.channelId : 0), \
|
|
|
- UA_PRINTF_GUID_DATA(SESSION->sessionId), \
|
|
|
+ UA_PRINTF_GUID_DATA(SESSION->sessionId.identifier.guid), \
|
|
|
##__VA_ARGS__);
|
|
|
|
|
|
#define UA_LOG_INFO_SESSION(LOGGER, SESSION, MSG, ...) \
|
|
|
UA_LOG_INFO(LOGGER, UA_LOGCATEGORY_SESSION, "Connection %i | SecureChannel %i | Session " UA_PRINTF_GUID_FORMAT " | " MSG, \
|
|
|
(SESSION->channel ? (SESSION->channel->connection ? SESSION->channel->connection->sockfd : 0) : 0), \
|
|
|
(SESSION->channel ? SESSION->channel->securityToken.channelId : 0), \
|
|
|
- UA_PRINTF_GUID_DATA(SESSION->sessionId), \
|
|
|
+ UA_PRINTF_GUID_DATA(SESSION->sessionId.identifier.guid), \
|
|
|
##__VA_ARGS__);
|
|
|
|
|
|
#define UA_LOG_WARNING_SESSION(LOGGER, SESSION, MSG, ...) \
|
|
|
UA_LOG_WARNING(LOGGER, UA_LOGCATEGORY_SESSION, "Connection %i | SecureChannel %i | Session " UA_PRINTF_GUID_FORMAT " | " MSG, \
|
|
|
(SESSION->channel ? (SESSION->channel->connection ? SESSION->channel->connection->sockfd : 0) : 0), \
|
|
|
(SESSION->channel ? SESSION->channel->securityToken.channelId : 0), \
|
|
|
- UA_PRINTF_GUID_DATA(SESSION->sessionId), \
|
|
|
+ UA_PRINTF_GUID_DATA(SESSION->sessionId.identifier.guid), \
|
|
|
##__VA_ARGS__);
|
|
|
|
|
|
#define UA_LOG_ERROR_SESSION(LOGGER, SESSION, MSG, ...) \
|
|
|
UA_LOG_ERROR(LOGGER, UA_LOGCATEGORY_SESSION, "Connection %i | SecureChannel %i | Session " UA_PRINTF_GUID_FORMAT " | " MSG, \
|
|
|
(SESSION->channel ? (SESSION->channel->connection ? SESSION->channel->connection->sockfd : 0) : 0), \
|
|
|
(SESSION->channel ? SESSION->channel->securityToken.channelId : 0), \
|
|
|
- UA_PRINTF_GUID_DATA(SESSION->sessionId), \
|
|
|
+ UA_PRINTF_GUID_DATA(SESSION->sessionId.identifier.guid), \
|
|
|
##__VA_ARGS__);
|
|
|
|
|
|
#define UA_LOG_FATAL_SESSION(LOGGER, SESSION, MSG, ...) \
|
|
|
UA_LOG_FATAL(LOGGER, UA_LOGCATEGORY_SESSION, "Connection %i | SecureChannel %i | Session " UA_PRINTF_GUID_FORMAT " | " MSG, \
|
|
|
(SESSION->channel ? (SESSION->channel->connection ? SESSION->channel->connection->sockfd : 0) : 0), \
|
|
|
(SESSION->channel ? SESSION->channel->securityToken.channelId : 0), \
|
|
|
- UA_PRINTF_GUID_DATA(SESSION->sessionId), \
|
|
|
+ UA_PRINTF_GUID_DATA(SESSION->sessionId.identifier.guid), \
|
|
|
##__VA_ARGS__);
|
|
|
|
|
|
#endif /* UA_SESSION_H_ */
|