diff options
author | James Forsyth <jf2512@att.com> | 2019-01-15 14:15:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-01-15 14:15:32 +0000 |
commit | efb59ae12b474b1b1661b99d1d2aa7253ce83436 (patch) | |
tree | 3f4fbc8fcdce36d6e98e1540e0fd9650439a3557 /aai-core | |
parent | 1201f66412ab1585ec19e8630cb8b38e431dab8e (diff) | |
parent | cacabd74d27c390e69917a649c5354990ba0eb58 (diff) |
Merge "ListEndpoints-added logger with System.err"
Diffstat (limited to 'aai-core')
-rw-r--r-- | aai-core/src/main/java/org/onap/aai/audit/ListEndpoints.java | 9 |
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); |