aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Wilk <m.wilk@samsung.com>2021-01-14 11:26:20 +0100
committerMarcin Wilk <m.wilk@samsung.com>2021-01-15 06:39:41 +0000
commit0e57b850ab1f49f23c5295dc8e409faa8b19f059 (patch)
treec9c0f21e97a7e549eaf0b3e15c79f8b75304b8f3
parent38c36ae1a3d1d40837087096a2b2df1a33f6c0b5 (diff)
Fix property logging
Make property values logging consistent across default/file/command line properties during the initialization. Issue-ID: APPC-1915 Signed-off-by: Marcin Wilk <m.wilk@samsung.com> Change-Id: I3353623235dfa2fb8e74057158a52920726f92d5 (cherry picked from commit f6e6c96af876136f0db3be703a45546fe231cef3)
-rw-r--r--appc-core/appc-common-bundle/src/main/java/org/onap/appc/configuration/ConfigurationFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/appc-core/appc-common-bundle/src/main/java/org/onap/appc/configuration/ConfigurationFactory.java b/appc-core/appc-common-bundle/src/main/java/org/onap/appc/configuration/ConfigurationFactory.java
index d66a3fe82..3cd2a7400 100644
--- a/appc-core/appc-common-bundle/src/main/java/org/onap/appc/configuration/ConfigurationFactory.java
+++ b/appc-core/appc-common-bundle/src/main/java/org/onap/appc/configuration/ConfigurationFactory.java
@@ -363,7 +363,7 @@ public final class ConfigurationFactory {
stream = new BufferedInputStream(new FileInputStream(file));
fileProperties.load(stream);
for (String key : fileProperties.stringPropertyNames()) {
- logger.debug(Msg.PROPERTY_VALUE, key, fileProperties.getProperty(key));
+ logger.info(Msg.PROPERTY_VALUE, key, fileProperties.getProperty(key));
config.setProperty(key, fileProperties.getProperty(key));
}
found = true;
@@ -392,7 +392,7 @@ public final class ConfigurationFactory {
if (props != null) {
logger.info(Msg.LOADING_APPLICATION_OVERRIDES);
for (String key : props.stringPropertyNames()) {
- logger.debug(Msg.PROPERTY_VALUE, key, props.getProperty(key));
+ logger.info(Msg.PROPERTY_VALUE, key, props.getProperty(key));
config.setProperty(key, props.getProperty(key));
}
} else {