ven-eu.cleanthat.test-helpers.2.22.source-code.logback-test.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright © 2019 MiTrust ([email protected]). Unauthorized copying of this file, via any medium is strictly prohibited. Proprietary and confidential --> <configuration scan="true" debug="false" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="logback.xsd"> <!-- scan=true will reload this configuration file regularly --> <!-- http://logback.qos.ch/manual/jmxConfig.html --> <!-- TODO: stop in a ServletContextListener . See logback doc --> <contextName>CleanThatTests</contextName> <jmxConfigurator /> <!-- http://logback.qos.ch/manual/configuration.html --> <contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator" /> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder by default --> <encoder> <!-- http://stackoverflow.com/questions/2005929/howto-prevent-eclipse-from-line-wrapping-in-xml-and-html-files --> <!-- '%highlight' works under unix even if withJansi==false --> <!-- Not a '.' between class and method in order to easily double-click to select the class and dreictly poaste in IDE --> <pattern> <![CDATA[%date %-5level[%thread] %logger{36}|%method\(%line\) - %msg%n]]> </pattern> </encoder> <!-- https://logback.qos.ch/manual/appenders.html#conAppWithJansi --> <!-- ANSI fails in our Windows env: https://jira.qos.ch/browse/LOGBACK-762 --> <withJansi>false</withJansi> </appender> <logger name="org.springframework" level="INFO" /> <!-- Prevent logging all listeners for each unit-test --> <logger name="org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTestContextBootstrapper" level="WARN" /> <logger name="org.springframework.security" level="INFO" /> <!-- Prevent logging the whole FilterChain for each unit-test --> <logger name="org.springframework.security.web.DefaultSecurityFilterChain" level="WARN" /> <!-- Prevent logging about it in many unit-tests --> <logger name="org.springframework.boot.test.mock.web.SpringBootMockServletContext" level="WARN" /> <logger name="org.springframework.boot.test.context.SpringBootTestContextBootstrapper" level="WARN" /> <logger name="org.springframework.context.support.PostProcessorRegistrationDelegate" level="WARN" /> <logger name="org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener" level="WARN" /> <logger name="org.springframework.test.web.servlet.TestDispatcherServlet" level="WARN" /> <!-- https://stackoverflow.com/questions/28272284/how-to-disable-jooqs-self-ad-message-in-3-4 --> <logger name="org.jooq.Constants" level="WARN" /> <!-- https://stackoverflow.com/questions/27230702/speed-up-spring-boot-startup-time --> <logger name="org.springframework.boot.autoconfigure" level="INFO" /> <!-- .getDefaultTestExecutionListenerClassNames prints quite long lines --> <logger name="org.springframework.test.context.support.DefaultTestContextBootstrapper" level="WARN" /> <root level="INFO"> <appender-ref ref="STDOUT" /> </root> </configuration>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy