Merge pull request #15141 from timis1/JAVA-27237

JAVA-27237 Review log statements for projects - Week 16 - 2023 (moved…
This commit is contained in:
Alvin Austria 2023-11-06 22:35:14 +01:00 committed by GitHub
commit 8c2c788b0d
8 changed files with 55 additions and 3 deletions

View File

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

View File

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

View File

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

View File

@ -7,6 +7,12 @@
</encoder> </encoder>
</appender> </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"> <root level="INFO">
<appender-ref ref="STDOUT" /> <appender-ref ref="STDOUT" />
</root> </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

@ -9,7 +9,7 @@
<logger name="org.springframework" level="ERROR"/> <logger name="org.springframework" level="ERROR"/>
<logger name="org.springframework.integration.config" level="INFO"/> <logger name="org.springframework.integration.config" level="WARN"/>
<root level="INFO"> <root level="INFO">
<appender-ref ref="stdout" /> <appender-ref ref="stdout" />

View File

@ -8,6 +8,12 @@
<logger name="org.springframework.boot.test.context" level="WARN"/> <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"> <root level="INFO">
<appender-ref ref="STDOUT" /> <appender-ref ref="STDOUT" />
</root> </root>