Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.11.4
-
None
-
None
Description
The default logback.xml included with NiFi (at least the apache/nifi Docker image for 1.11.4) includes the following config:
<logger name="org.apache.nifi" level="INFO"/> <logger name="org.apache.nifi.processors" level="WARN"/> <logger name="org.apache.nifi.processors.standard.LogAttribute" level="INFO"/> <logger name="org.apache.nifi.processors.standard.LogMessage" level="INFO"/>
This means that calls to `log.info` within an ExecuteGroovyScript are filtered out of the logs by default, which is confusing if one wants to write a script that includes some informational logging (seems a sensible expectation).
I'd imagine including the following in the `logback.xml` would resolve this:
<logger name="org.apache.nifi.processors.groovyx.ExecuteGroovyScript" level="INFO"/>
Attachments
Issue Links
- links to