Estou tentando reduzi os logs que são exibidos no console e gravado num arquivo de log, gostaria de remover o log do JBoss toda que inicia ele é exibido
11:40:35.972 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
11:40:35.992 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)]
11:40:36.026 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [projeto.QueueTest] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]
11:40:36.045 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [projeto.QueueTest], using SpringBootContextLoader
11:40:36.052 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [projeto.QueueTest]: class path resource [processor/QueueTest-context.xml] does not exist
11:40:36.053 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [projeto.QueueTest]: class path resource [projeto/QueueTestContext.groovy] does not exist
11:40:36.053 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [projeto.QueueTest]: no resource found for suffixes {-context.xml, Context.groovy}.
11:40:36.054 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [projeto.QueueTest]: QueueTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
11:40:36.191 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration projeto.RepositoryApp for test class projeto.QueueTest
11:40:36.411 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [projeto.QueueTest]: using defaults.
11:40:36.412 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener]
11:40:36.436 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@74eb909f, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@28ec166e, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@2eee3069, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@2da59753, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5629510, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4df5bcb4, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@12c7a01b, org.springframework.test.context.event.EventPublishingTestExecutionListener@13d9b21f, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@2826f61, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@62727399, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@4d9ac0b4, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@130dca52, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@2654635]
11:40:36.441 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@1852a3ff testClass = QueueTest, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@7203c7ff testClass = QueueTest, locations = '{}', classes = '{class projeto.RepositoryApp}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5032714f, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4681c175, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4d1c005e, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@52f27fbd], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true]], class annotated with @DirtiesContext [false] with mode [null].
11:40:36.485 [main] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true, server.port=-1}
Esse log é exibido toda vez antes do banner, e gostaria de poder retirar, pois está acumulando muita coisa no log sem necessidade.
E gostaria de tirar também alguns logs com info
e[2m2021-06-09 11:56:28.841e[0;39m e[32m INFOe[0;39m e[35m5835e[0;39m e[2m---e[0;39m e[2m[ main]e[0;39m
Tentei usar arquivo .properties com algumas configurações, mas não foi.