nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Payne <>
Subject Re: onPropertyModified doesn't seem to work
Date Mon, 19 Mar 2018 17:14:26 GMT

What package is your processor class in? By default, the logging for the
org.apache.nifi.processors package is set to WARN. I am wondering if you are
simply not seeing the logging because of your logback configuration. I would recommend
you instead add a breakpoint and attach to your running nifi instance.


> On Mar 19, 2018, at 1:03 PM, Sivaprasanna <> wrote:
> Hi everyone,
> I'm facing problem getting onPropertyModified() working. Just to test it
> and troubleshoot further, I created a custom processor, the usual
> MyProcessor sample processor. I then added the following:
> @Override
> public void onPropertyModified(PropertyDescriptor descriptor, final
> String oldValue, final String newValue) {
>"Property modified for processor " + this.getIdentifier());
>    super.onPropertyModified(descriptor, oldValue, newValue);
> }
> And modified onTrigger to generate a string and write it as an output
> flowfile. The processor seems to work. However, when I modify the value for
> the property and restart it, I expect the above log statement to be
> generated, but it is not. Any help is appreciated. Thanks.
> -
> Sivaprasanna

View raw message