Skip to content

Commit

Permalink
Log the Java version along with stack and SDK versions
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinherron committed Aug 9, 2021
1 parent a031aa4 commit 17a8fc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ public class OpcUaClient implements UaClient {

static {
Logger logger = LoggerFactory.getLogger(OpcUaClient.class);
logger.info("Java version: " + System.getProperty("java.version"));
logger.info("Eclipse Milo OPC UA Stack version: {}", Stack.VERSION);
logger.info("Eclipse Milo OPC UA Client SDK version: {}", SDK_VERSION);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public class OpcUaServer {

static {
Logger logger = LoggerFactory.getLogger(OpcUaServer.class);
logger.info("Java version: " + System.getProperty("java.version"));
logger.info("Eclipse Milo OPC UA Stack version: {}", Stack.VERSION);
logger.info("Eclipse Milo OPC UA Server SDK version: {}", SDK_VERSION);
}
Expand Down

0 comments on commit 17a8fc8

Please sign in to comment.