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

Daniel Stieglitz updated NIFI-15250:
------------------------------------
    Summary: IllegalArgumentException thrown in the LogMessage processor if the 
value for Log Level is not a valid log level  (was: IllegalArgumentException 
thrown in LogMessage if the value for Log Level is not a valid log level)

> IllegalArgumentException thrown in the LogMessage processor if the value for 
> Log Level is not a valid log level
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-15250
>                 URL: https://issues.apache.org/jira/browse/NIFI-15250
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>
> Currently the log level value in LogMessage is entered by hand. If it does 
> not match the accepted log levels irrelevant of case, an 
> IllegalArgumentException is thrown as seen in the error message below
> {code:java}
> ERROR
> LogMessage[id=b74f1a87-019a-1000-e69c-2f8a246b2b0f] Processing failed: 
> org.apache.nifi.processor.exception.ProcessException: 
> java.lang.IllegalArgumentException: No enum constant 
> org.apache.nifi.processors.standard.LogMessage.MessageLogLevel.whatever
> - Caused by: java.lang.IllegalArgumentException: No enum constant 
> org.apache.nifi.processors.standard.LogMessage.MessageLogLevel.whatever{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to