Merge pull request #9946 from Maiklins/Java-1462-reduce-logging-modules-core-java-io-2-spring-ejb-beans-spring-boot-security-spring-data-jpa-3
Java-1461 Reduce logging - core-java-io-2, spring-ejb-beans, spring-boot-security
This commit is contained in:
commit
55a5210a91
core-java-modules/core-java-io-2/src/main/resources
spring-boot-modules/spring-boot-security/src
spring-ejb/ejb-beans
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<configuration scan="true" scanPeriod="15 seconds" debug="false">
|
||||||
|
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||||
|
<encoder>
|
||||||
|
<pattern>[%d{ISO8601}]-[%thread] %-5level %logger - %msg%n</pattern>
|
||||||
|
</encoder>
|
||||||
|
</appender>
|
||||||
|
|
||||||
|
<root level="WARN">
|
||||||
|
<appender-ref ref="STDOUT" />
|
||||||
|
</root>
|
||||||
|
</configuration>
|
@ -7,7 +7,7 @@
|
|||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
<root level="INFO">
|
<root level="WARN">
|
||||||
<appender-ref ref="STDOUT" />
|
<appender-ref ref="STDOUT" />
|
||||||
</root>
|
</root>
|
||||||
</configuration>
|
</configuration>
|
@ -0,0 +1,2 @@
|
|||||||
|
logging.level.root=ERROR
|
||||||
|
logging.level.com.baeldung.integrationtesting=ERROR
|
@ -131,6 +131,12 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<!-- Fork every test because it will launch a separate AS instance -->
|
<!-- Fork every test because it will launch a separate AS instance -->
|
||||||
<forkMode>always</forkMode>
|
<forkMode>always</forkMode>
|
||||||
|
<systemProperties>
|
||||||
|
<property>
|
||||||
|
<name>java.util.logging.config.file</name>
|
||||||
|
<value>src/test/resources/logging.properties</value>
|
||||||
|
</property>
|
||||||
|
</systemProperties>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
handlers = java.util.logging.ConsoleHandler
|
||||||
|
java.util.logging.ConsoleHandler.level = SEVERE
|
Loading…
x
Reference in New Issue
Block a user