aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--aai-core/src/main/java/org/onap/aai/audit/ListEndpoints.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/aai-core/src/main/java/org/onap/aai/audit/ListEndpoints.java b/aai-core/src/main/java/org/onap/aai/audit/ListEndpoints.java
index c56fdd7f..fc383581 100644
--- a/aai-core/src/main/java/org/onap/aai/audit/ListEndpoints.java
+++ b/aai-core/src/main/java/org/onap/aai/audit/ListEndpoints.java
@@ -3,6 +3,8 @@
* org.onap.aai
* ================================================================================
* Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
+ *
+ * Modifications Copyright (C) 2019 IBM.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -74,9 +76,10 @@ public class ListEndpoints {
String schemaUriBasePath = context.getEnvironment().getProperty("schema.uri.base.path");
if(schemaUriBasePath == null){
- System.err.println("Unable to find the property schema.uri.base.path,"
- +" please check if specified in system property or in schema-ingest.properties"
- );
+ String errorMsg = "Unable to find the property schema.uri.base.path,"
+ +" please check if specified in system property or in schema-ingest.properties";
+ System.err.println(errorMsg);
+ LOGGER.error(errorMsg);
}
SchemaVersions schemaVersions = context.getBean(SchemaVersions.class);
id='n184' href='#n184'>184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239