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];
}
}
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
LOGPARSER_X_MX_MB=1024
SERVER=https://${{FQDN}}:9091/pap/
-LOGPATH=${POLICY_LOGS}/policy/pap/pap-rest.log
-PARSERLOGPATH=${POLICY_LOGS}/policy/pap/IntegrityMonitor.log
+LOGPATH=${{POLICY_LOGS}}/policy/pap/pap-rest.log
+PARSERLOGPATH=${{POLICY_LOGS}}/policy/pap/IntegrityMonitor.log
node_type=logparser
# the java property is RESOURCE_NAME (uppercase), but the conf parameter is lowercase