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=6b4bd454d6ecce00410fad11035ece0846b5b589;hp=5496f0d8755100d11d1dcbd12c121cb25d8d9419;hpb=fe11ab01afebfa9777c3382d28026c805f7d042b;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 5496f0d87..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,16 +139,16 @@ 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.error("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.error("decryptTxtNoEx: Exception on sending default : " + e1); + LOGGER.warn("decryptTxtNoEx: Exception on sending default : " + e1); return new byte[0]; } }