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:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -17,3 +17,4 @@ jredis.log
|
||||
*.ipr
|
||||
*.iws
|
||||
.sts4-cache
|
||||
.factorypath
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user