Skip to content

Commit

Permalink
Log to info when performing attribute sanitization (#3729)
Browse files Browse the repository at this point in the history
It is quite common for CAS to perform attribute sanitization, therefore it should
not be logged as a warning.
  • Loading branch information
Bo Simonsen authored and mmoayyed committed Jan 4, 2019
1 parent e13d480 commit c18e464
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -71,7 +71,7 @@ private static void sanitizeAndTransformAttributeNames(final Map<String, Object>
.collect(Collectors.toSet());

if (!attrs.isEmpty()) {
LOGGER.warn("Found [{}] attribute(s) that need to be sanitized/encoded.", attrs);
LOGGER.info("Found [{}] attribute(s) that need to be sanitized/encoded.", attrs);
attributes.keySet().removeIf(getSanitizingAttributeNamePredicate());
attrs.forEach(p -> {
val key = p.getKey();
Expand Down

0 comments on commit c18e464

Please sign in to comment.