[ 
https://issues.apache.org/jira/browse/NIFI-13383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael W Moser reassigned NIFI-13383:
--------------------------------------

    Assignee: Michael W Moser

> 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
>
> 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)

Reply via email to