summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-01-15 07:33:45 -0500
committerJim Hahn <jrh3@att.com>2021-01-15 07:34:46 -0500
commitbc16a49415e2983e69cb189f030453660d93367b (patch)
tree9a69b583199f728e6ad31b601598ff3c7308d762
parent63e651c2931c251742e3055f26a209a9640ed006 (diff)
Do not log filter to error log
The DAO code was logging the query filter to the error log. Modified to log it to the debug log. Issue-ID: POLICY-2648 Change-Id: I372c77cb4fa1e5c4cb645d82b26ab0bba4a00826 Signed-off-by: Jim Hahn <jrh3@att.com>
-rw-r--r--models-dao/src/main/java/org/onap/policy/models/dao/impl/DefaultPfDao.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/models-dao/src/main/java/org/onap/policy/models/dao/impl/DefaultPfDao.java b/models-dao/src/main/java/org/onap/policy/models/dao/impl/DefaultPfDao.java
index b7dda8dbb..5e89ee591 100644
--- a/models-dao/src/main/java/org/onap/policy/models/dao/impl/DefaultPfDao.java
+++ b/models-dao/src/main/java/org/onap/policy/models/dao/impl/DefaultPfDao.java
@@ -395,7 +395,7 @@ public class DefaultPfDao implements PfDao {
query.setMaxResults(getRecordNum);
}
- LOGGER.error("filterQueryString is \"{}\"", filterQueryString);
+ LOGGER.debug("filterQueryString is \"{}\"", filterQueryString);
return query.getResultList();
} finally {
mg.close();