mirror of
https://github.com/apache/nifi.git
synced 2025-02-06 01:58:32 +00:00
NIFI-9073 - Limit Surefire Output during Build
This closes #5325 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
1d1b805f04
commit
aa5babbb97
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<logger name="org.apache.nifi" level="INFO"/>
|
<logger name="org.apache.nifi" level="INFO"/>
|
||||||
<logger name="org.apache.nifi.remote.client" level="DEBUG"/>
|
<logger name="org.apache.nifi.remote.client" level="INFO"/>
|
||||||
<logger name="org.apache.nifi.remote.client.PeerSelectorTest" level="DEBUG"/>
|
<logger name="org.apache.nifi.remote.client.PeerSelectorTest" level="DEBUG"/>
|
||||||
|
|
||||||
<root level="INFO">
|
<root level="INFO">
|
||||||
|
@ -97,12 +97,11 @@ class EncryptedFileSystemRepositoryTest {
|
|||||||
static void setUpOnce() throws Exception {
|
static void setUpOnce() throws Exception {
|
||||||
Assume.assumeTrue("Test only runs on *nix", !SystemUtils.IS_OS_WINDOWS)
|
Assume.assumeTrue("Test only runs on *nix", !SystemUtils.IS_OS_WINDOWS)
|
||||||
ORIGINAL_LOG_LEVEL = System.getProperty(LOG_PACKAGE)
|
ORIGINAL_LOG_LEVEL = System.getProperty(LOG_PACKAGE)
|
||||||
System.setProperty(LOG_PACKAGE, "DEBUG")
|
|
||||||
|
|
||||||
Security.addProvider(new BouncyCastleProvider())
|
Security.addProvider(new BouncyCastleProvider())
|
||||||
|
|
||||||
logger.metaClass.methodMissing = { String name, args ->
|
logger.metaClass.methodMissing = { String name, args ->
|
||||||
logger.info("[${name?.toUpperCase()}] ${(args as List).join(" ")}")
|
logger.debug("[${name?.toUpperCase()}] ${(args as List).join(" ")}")
|
||||||
}
|
}
|
||||||
|
|
||||||
mockCipherProvider = [
|
mockCipherProvider = [
|
||||||
|
@ -72,7 +72,7 @@ public class TestStandardFlowFileQueue {
|
|||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void setupLogging() {
|
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
|
@Before
|
||||||
|
@ -0,0 +1,28 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
|
this work for additional information regarding copyright ownership.
|
||||||
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
|
(the "License"); you may not use this file except in compliance with
|
||||||
|
the License. You may obtain a copy of the License at
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<configuration>
|
||||||
|
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
|
||||||
|
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||||
|
<pattern>%-4r [%t] %-5p %c{3} - %m%n</pattern>
|
||||||
|
</encoder>
|
||||||
|
</appender>
|
||||||
|
|
||||||
|
<root level="INFO">
|
||||||
|
<appender-ref ref="CONSOLE"/>
|
||||||
|
</root>
|
||||||
|
|
||||||
|
</configuration>
|
@ -15,7 +15,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
log4j.rootLogger=DEBUG,console,test
|
log4j.rootLogger=INFO,console,test
|
||||||
|
|
||||||
log4j.appender.console=org.apache.log4j.ConsoleAppender
|
log4j.appender.console=org.apache.log4j.ConsoleAppender
|
||||||
log4j.appender.console.Target=System.err
|
log4j.appender.console.Target=System.err
|
||||||
|
Loading…
x
Reference in New Issue
Block a user