diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2019-05-08 08:24:05 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2019-05-08 08:24:11 -0400 |
commit | 0768e0f6e3fe247b58c24da6bd852fad788b3384 (patch) | |
tree | 065290f95646d06d404c156be3419c67aa5f3780 /applications/guard/src | |
parent | 6f8206accd4eb94b19eacf49497675f0cc1b4f06 (diff) |
Change debug to info logs
A lot of debug should really be info for logs. To assist
with debugging but also really need to be there for auditing.
Issue-ID: POLICY-1730
Change-Id: I5c41e056775c24797d257504e9c6495fa3127e45
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'applications/guard/src')
-rw-r--r-- | applications/guard/src/main/java/org/onap/policy/xacml/pdp/application/guard/LegacyGuardTranslator.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/applications/guard/src/main/java/org/onap/policy/xacml/pdp/application/guard/LegacyGuardTranslator.java b/applications/guard/src/main/java/org/onap/policy/xacml/pdp/application/guard/LegacyGuardTranslator.java index 3cbfcf73..2917aab2 100644 --- a/applications/guard/src/main/java/org/onap/policy/xacml/pdp/application/guard/LegacyGuardTranslator.java +++ b/applications/guard/src/main/java/org/onap/policy/xacml/pdp/application/guard/LegacyGuardTranslator.java @@ -109,7 +109,7 @@ public class LegacyGuardTranslator implements ToscaPolicyTranslator { // Check if we were able to create the rule // if (rule == null) { - LOGGER.warn("Failed to create rule"); + LOGGER.error("Failed to create rule"); return null; } // @@ -124,7 +124,7 @@ public class LegacyGuardTranslator implements ToscaPolicyTranslator { @Override public Request convertRequest(DecisionRequest request) { - LOGGER.debug("Converting Request {}", request); + LOGGER.info("Converting Request {}", request); try { return RequestParser.parseRequest(LegacyGuardPolicyRequest.createInstance(request)); } catch (IllegalArgumentException | IllegalAccessException | DataTypeException e) { @@ -138,7 +138,7 @@ public class LegacyGuardTranslator implements ToscaPolicyTranslator { @Override public DecisionResponse convertResponse(Response xacmlResponse) { - LOGGER.debug("Converting Response {}", xacmlResponse); + LOGGER.info("Converting Response {}", xacmlResponse); DecisionResponse decisionResponse = new DecisionResponse(); // // Iterate through all the results @@ -280,7 +280,7 @@ public class LegacyGuardTranslator implements ToscaPolicyTranslator { // Integer limit = parseInteger(properties.get("limit").toString()); if (limit == null) { - LOGGER.debug("Must have a limit value for frequency guard policy to be created"); + LOGGER.error("Must have a limit value for frequency guard policy to be created"); return null; } // |