[
https://issues.apache.org/jira/browse/NIFI-13383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17854227#comment-17854227
]
ASF subversion and git services commented on NIFI-13383:
--------------------------------------------------------
Commit aac90fb375e4e72c18aa0401a48145c9dd3d8026 in nifi's branch
refs/heads/main from Michael W Moser
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=aac90fb375 ]
NIFI-13383 Changed info log level to debug in XXEValidator (#8952)
Signed-off-by: David Handermann <[email protected]>
> Excessive log messages validating XML files
> -------------------------------------------
>
> Key: NIFI-13383
> URL: https://issues.apache.org/jira/browse/NIFI-13383
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: 2.0.0-M3
> Reporter: Michael W Moser
> Assignee: Michael W Moser
> Priority: Trivial
> Time Spent: 20m
> Remaining Estimate: 0h
>
> If I configure an XMLFileLookupService with an XML file, then I get an INFO
> log every 5 seconds. I think we can change this to DEBUG. If there is a
> validation problem, there are log messages at the WARN and ERROR level which
> should be enough.
> 2024-06-10 20:40:40,659 INFO [Validate Components Thread-1]
> o.a.n.lookup.configuration2.XXEValidator Validating /path/to/filename.xml for
> XXE attack
> 2024-06-10 20:40:45,673 INFO [Validate Components Thread-1]
> o.a.n.lookup.configuration2.XXEValidator Validating /path/to/filename.xml for
> XXE attack
> 2024-06-10 20:40:50,687 INFO [Validate Components Thread-2]
> o.a.n.lookup.configuration2.XXEValidator Validating /path/to/filename.xml for
> XXE attack
> 2024-06-10 20:40:55,698 INFO [Validate Components Thread-1]
> o.a.n.lookup.configuration2.XXEValidator Validating /path/to/filename.xml for
> XXE attack
> 2024-06-10 20:41:00,709 INFO [Validate Components Thread-3]
> o.a.n.lookup.configuration2.XXEValidator Validating /path/to/filename.xml for
> XXE attack
> 2024-06-10 20:41:05,721 INFO [Validate Components Thread-3]
> o.a.n.lookup.configuration2.XXEValidator Validating /path/to/filename.xml for
> XXE attack
> 2024-06-10 20:41:10,734 INFO [Validate Components Thread-3]
> o.a.n.lookup.configuration2.XXEValidator Validating /path/to/filename.xml for
> XXE attack
> 2024-06-10 20:41:15,745 INFO [Validate Components Thread-3]
> o.a.n.lookup.configuration2.XXEValidator Validating /path/to/filename.xml for
> XXE attack
--
This message was sent by Atlassian Jira
(v8.20.10#820010)