diff --git a/nifi-commons/nifi-site-to-site-client/src/test/resources/logback-test.xml b/nifi-commons/nifi-site-to-site-client/src/test/resources/logback-test.xml index 9e235bd50b..055cf3f34e 100644 --- a/nifi-commons/nifi-site-to-site-client/src/test/resources/logback-test.xml +++ b/nifi-commons/nifi-site-to-site-client/src/test/resources/logback-test.xml @@ -30,7 +30,7 @@ - + diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/groovy/org/apache/nifi/controller/repository/crypto/EncryptedFileSystemRepositoryTest.groovy b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/groovy/org/apache/nifi/controller/repository/crypto/EncryptedFileSystemRepositoryTest.groovy index 7425f33544..fd0185de41 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/groovy/org/apache/nifi/controller/repository/crypto/EncryptedFileSystemRepositoryTest.groovy +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/groovy/org/apache/nifi/controller/repository/crypto/EncryptedFileSystemRepositoryTest.groovy @@ -97,12 +97,11 @@ class EncryptedFileSystemRepositoryTest { static void setUpOnce() throws Exception { Assume.assumeTrue("Test only runs on *nix", !SystemUtils.IS_OS_WINDOWS) ORIGINAL_LOG_LEVEL = System.getProperty(LOG_PACKAGE) - System.setProperty(LOG_PACKAGE, "DEBUG") Security.addProvider(new BouncyCastleProvider()) logger.metaClass.methodMissing = { String name, args -> - logger.info("[${name?.toUpperCase()}] ${(args as List).join(" ")}") + logger.debug("[${name?.toUpperCase()}] ${(args as List).join(" ")}") } mockCipherProvider = [ diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/TestStandardFlowFileQueue.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/TestStandardFlowFileQueue.java index b94629abe1..e20d7fb387 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/TestStandardFlowFileQueue.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/TestStandardFlowFileQueue.java @@ -72,7 +72,7 @@ public class TestStandardFlowFileQueue { @BeforeClass public static void setupLogging() { - System.setProperty("org.slf4j.simpleLogger.log.org.apache.nifi", "DEBUG"); + System.setProperty("org.slf4j.simpleLogger.log.org.apache.nifi", "INFO"); } @Before diff --git a/nifi-registry/nifi-registry-core/nifi-registry-framework/src/test/resources/logback-test.xml b/nifi-registry/nifi-registry-core/nifi-registry-framework/src/test/resources/logback-test.xml new file mode 100644 index 0000000000..86408f1b41 --- /dev/null +++ b/nifi-registry/nifi-registry-core/nifi-registry-framework/src/test/resources/logback-test.xml @@ -0,0 +1,28 @@ + + + + + + + %-4r [%t] %-5p %c{3} - %m%n + + + + + + + + diff --git a/nifi-toolkit/nifi-toolkit-encrypt-config/src/test/resources/log4j.properties b/nifi-toolkit/nifi-toolkit-encrypt-config/src/test/resources/log4j.properties index d68cca08eb..69e4f09d5f 100644 --- a/nifi-toolkit/nifi-toolkit-encrypt-config/src/test/resources/log4j.properties +++ b/nifi-toolkit/nifi-toolkit-encrypt-config/src/test/resources/log4j.properties @@ -15,7 +15,7 @@ # limitations under the License. # -log4j.rootLogger=DEBUG,console,test +log4j.rootLogger=INFO,console,test log4j.appender.console=org.apache.log4j.ConsoleAppender log4j.appender.console.Target=System.err