X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=PolicyEngineUtils%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fpolicy%2Futils%2FCryptoUtils.java;h=15a93bdab920f5cb037bd0c459cea445d1e2b1e3;hb=c683a67fbf4a50e68bf8736517865b43db75ed4b;hp=74f6641ae2a60d3a84370d8ff83e1c014525893d;hpb=366d2b9650d93333c32f8e136f149c63382bd2b8;p=policy%2Fengine.git 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 74f6641ae..15a93bdab 100644 --- a/PolicyEngineUtils/src/main/java/org/onap/policy/utils/CryptoUtils.java +++ b/PolicyEngineUtils/src/main/java/org/onap/policy/utils/CryptoUtils.java @@ -139,13 +139,13 @@ public class CryptoUtils { try { if (encryptedTxt == null || encryptedTxt.isEmpty()) { - LOGGER.error("decryptTxtNoEx: Input param encryptedTxt is not valid"); + LOGGER.info("decryptTxtNoEx: Input param encryptedTxt is empty"); return new byte[0]; } return decryptTxt(encryptedTxt); } catch (Exception e) { try { - LOGGER.warn("decryptTxtNoEx: Exception while decryption : " + e); + LOGGER.info("decryptTxtNoEx: Exception while decrypting : " + e); return (encryptedTxt != null) ? encryptedTxt.getBytes(StandardCharsets.UTF_8) : new byte[0]; } catch (Exception e1) { LOGGER.warn("decryptTxtNoEx: Exception on sending default : " + e1);