[
https://issues.apache.org/jira/browse/NIFI-15022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-15022:
------------------------------------
Description:
The LOG_LEVEL property in GeoEnrichIPRecord should only take values INFO,
DEBUG, WARN, ERROR or a Expression Language expression. When not specified as a
Expression Language expression, there is nothing to enforce the value is one of
INFO, DEBUG, WARN or ERROR.
The purpose of this ticket is to add validation when the LOG_LEVEL value is not
a Expression Language expression that it is one of INFO, DEBUG, WARN or ERROR.
was:
The LOG_LEVEL property in GeoEnrichIPRecord should only take values INFO,
DEBUG, WARN, ERROR but there is nothing enforcing this except for the default
value which has the WARN value. The fix for this would be to add to the
LOG_LEVEL definition
{code:java}
.allowableValues(MessageLogLevel.values()){code}
> Enforce the value for the LOG_LEVEL property in GeoEnrichIPRecord when not
> specified as an Expression Language Expression
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-15022
> URL: https://issues.apache.org/jira/browse/NIFI-15022
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
>
> The LOG_LEVEL property in GeoEnrichIPRecord should only take values INFO,
> DEBUG, WARN, ERROR or a Expression Language expression. When not specified as
> a Expression Language expression, there is nothing to enforce the value is
> one of INFO, DEBUG, WARN or ERROR.
> The purpose of this ticket is to add validation when the LOG_LEVEL value is
> not a Expression Language expression that it is one of INFO, DEBUG, WARN or
> ERROR.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)