+ String serverAddress = (String) properties.get(AUDIT_SERVER_ADDRESS);
+ String clientId = (String) properties.get(AUDIT_CLIENT_ID);
+ if (clientId == null || clientId.isEmpty())
+ clientId = UUID.randomUUID().toString();
+ if (serverAddress != null && !serverAddress.isEmpty()) {
+ INSTANCE = new AuditLoggingClient(clientId, serverAddress);
+ } else {
+ LOGGER.warn("No {} system property defined so client not configured", AUDIT_SERVER_ADDRESS);
+ }