You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Michael W Moser (Jira)" <ji...@apache.org> on 2024/06/10 21:09:00 UTC
[jira] [Created] (NIFI-13383) Excessive log messages validating XML files
Michael W Moser created NIFI-13383:
--------------------------------------
Summary: 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
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)