From 9828e7dd14d13a5c375c71b5ccbaa5dd049fa508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D0=BA=D0=B0=D1=80=D0=BE=D0=B2=20=D0=92=D0=B0?= =?UTF-8?q?=D1=81=D0=B8=D0=BB=D0=B8=D0=B9=20=D0=9D=D0=B8=D0=BA=D0=BE=D0=BB?= =?UTF-8?q?=D0=B0=D0=B5=D0=B2=D0=B8=D1=87?= Date: Thu, 11 Jun 2020 09:30:57 +0300 Subject: [PATCH] NIFI-7035 The first curator connection issue is logged as ERROR until reconnect --- .../nifi-resources/src/main/resources/conf/bootstrap.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf index c2152f7663..e0969c99c9 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf @@ -84,3 +84,7 @@ notification.max.attempts=5 # Comma-separated list of identifiers that are present in the notification.services.file; which services should be used to notify when NiFi dies? #nifi.dead.notification.services=email-notification + +# The first curator connection issue is logged as ERROR, for example when NiFi cannot connect to one of the Zookeeper nodes. +# Additional connection issues are logged as DEBUG until the connection is restored. +java.arg.curator.supress.excessive.logs=-Dcurator-log-only-first-connection-issue-as-error-level=true