summaryrefslogtreecommitdiffstats
path: root/PolicyEngineUtils
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2018-05-10 17:38:25 -0400
committerJim Hahn <jrh3@att.com>2018-05-10 17:38:25 -0400
commit5477b596777a29177cd209f7795304c435730838 (patch)
tree85b8d312a13d5dd9270b0134a0970c8db6884bda /PolicyEngineUtils
parent3ffafe7276cf76c779c58dc8224f717eb086bfb5 (diff)
Change error to warning
Changed ERROR about decryption to WARNING. Added POLICY_LOGS to base.conf (for non-docker). Change-Id: If32965f1c37b36102c12371e739e1a155bb255f0 Issue-ID: POLICY-758 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'PolicyEngineUtils')
-rw-r--r--PolicyEngineUtils/src/main/java/org/onap/policy/utils/CryptoUtils.java4
1 files changed, 2 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];
}
}