JAVA-27237 Review log statements for projects - Week 16 - 2023 (moved-13) (conti-1)

This commit is contained in:
timis1 2023-11-05 23:27:26 +02:00 committed by n
parent 4931a3b16d
commit 790ec2b7fb
7 changed files with 54 additions and 2 deletions

View File

@ -35,7 +35,7 @@
<property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
<property name="hibernate.format_sql" value="false"/>
<property name="hibernate.show_sql" value="true"/>
<property name="hibernate.show_sql" value="false"/>
</properties>
</persistence-unit>
</persistence>

View File

@ -7,7 +7,7 @@
</encoder>
</appender>
<logger name="org.jboss" level="WARN"/>
<logger name="org.jboss" level="ERROR"/>
<logger name="org.apache.deltaspike" level="WARN"/>

View File

@ -6,6 +6,8 @@
</encoder>
</appender>
<logger name="org.springframework.boot.test.context" level="WARN"/>
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>

View File

@ -7,6 +7,12 @@
</encoder>
</appender>
<logger name="org.springframework.boot.test.context" level="WARN"/>
<logger name="org.springframework.security.web" level="WARN"/>
<logger name="com.netflix.discovery" level="WARN"/>
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>

View File

@ -0,0 +1,18 @@
<?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>
<logger name="org.springframework.boot.test.context" level="WARN"/>
<logger name="com.netflix.discovery" level="WARN"/>
<logger name="com.netflix.config.sources" level="WARN"/>
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>

View File

@ -0,0 +1,20 @@
<?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>
<logger name="org.springframework.cloud" level="WARN"/>
<logger name="org.springframework.boot.test.context" level="WARN"/>
<logger name="com.netflix.discovery" level="WARN"/>
<logger name="com.netflix.config.sources" level="WARN"/>
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>

View File

@ -8,6 +8,12 @@
<logger name="org.springframework.boot.test.context" level="WARN"/>
<logger name="org.springframework.boot.autoconfigure" level="WARN"/>
<logger name="de.flapdoodle.embed.mongo" level="WARN"/>
<logger name="org.mongodb.driver.client" level="WARN"/>
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>