AMQP-630: Migrate to Log4J2, Part II
JIRA: https://jira.spring.io/browse/AMQP-630 The previous fix wasn't full: we still need to adjust logger configs for Log4J2
This commit is contained in:
committed by
Gary Russell
parent
eed2851e60
commit
6d1d59277b
14
spring-rabbit-test/src/test/resources/log4j2.xml
Normal file
14
spring-rabbit-test/src/test/resources/log4j2.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Configuration>
|
||||
<Appenders>
|
||||
<Console name="STDOUT" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d %5p %c [%t] : %m%n" />
|
||||
</Console>
|
||||
</Appenders>
|
||||
<Loggers>
|
||||
<Logger name="org.springframework.amqp.rabbit.test" level="info"/>
|
||||
<Root level="info">
|
||||
<AppenderRef ref="STDOUT" />
|
||||
</Root>
|
||||
</Loggers>
|
||||
</Configuration>
|
||||
Reference in New Issue
Block a user