aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2018-05-11 03:09:50 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-11 03:09:50 +0000
commit8ff87b1ac5c783d84b9f4c8de55d97a679c6e00e (patch)
tree00349b5f07533606beae11c575fc8494b33eae4b
parentd65a0a1e8685be51b78b12b53c14e3c19fa456e7 (diff)
parent5477b596777a29177cd209f7795304c435730838 (diff)
Merge "Change error to warning"
-rw-r--r--PolicyEngineUtils/src/main/java/org/onap/policy/utils/CryptoUtils.java4
-rw-r--r--packages/install/src/files/base.conf1
2 files changed, 3 insertions, 2 deletions
diff --git a/PolicyEngineUtils/src/main/java/org/onap/policy/utils/CryptoUtils.java b/PolicyEngineUtils/src/main/java/org/onap/policy/utils/CryptoUtils.java
index 5496f0d87..74f6641ae 100644
--- a/PolicyEngineUtils/src/main/java/org/onap/policy/utils/CryptoUtils.java
+++ b/PolicyEngineUtils/src/main/java/org/onap/policy/utils/CryptoUtils.java
@@ -145,10 +145,10 @@ public class CryptoUtils {
return decryptTxt(encryptedTxt);
} catch (Exception e) {
try {
- LOGGER.error("decryptTxtNoEx: Exception while decryption : " + e);
+ LOGGER.warn("decryptTxtNoEx: Exception while decryption : " + e);
return (encryptedTxt != null) ? encryptedTxt.getBytes(StandardCharsets.UTF_8) : new byte[0];
} catch (Exception e1) {
- LOGGER.error("decryptTxtNoEx: Exception on sending default : " + e1);
+ LOGGER.warn("decryptTxtNoEx: Exception on sending default : " + e1);
return new byte[0];
}
}
diff --git a/packages/install/src/files/base.conf b/packages/install/src/files/base.conf
index 5f0ff7d2a..25a2a355d 100644
--- a/packages/install/src/files/base.conf
+++ b/packages/install/src/files/base.conf
@@ -20,6 +20,7 @@
JAVA_HOME=/usr/lib/jvm/java-8-oracle
POLICY_HOME=/opt/app/policy
+POLICY_LOGS=/opt/app/policy/logs
KEYSTORE_PASSWD=PolicyR0ck$
JDBC_DRIVER=org.mariadb.jdbc.Driver