GH-59: Fix log4j Sample

Resolves https://github.com/spring-projects/spring-amqp-samples/issues/59

Add packages to `Configuration`, change SF version to 5.2.4.B-S.
This commit is contained in:
Gary Russell
2020-01-31 16:32:40 -05:00
parent d53e44e225
commit 1d939acf2e
3 changed files with 8 additions and 1 deletions

1
.gitignore vendored
View File

@@ -17,3 +17,4 @@ jredis.log
*.ipr
*.iws
.sts4-cache
.factorypath

View File

@@ -40,6 +40,12 @@
<artifactId>spring-boot-starter-log4j2</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jcl</artifactId>
<version>5.2.4.BUILD-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Configuration packages="org.springframework.amqp.rabbit.log4j2">
<Appenders>
<Console name="STDOUT" target="SYSTEM_OUT">
<PatternLayout pattern="%m%n" />