-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(logging): bump logback to get newer version than 1.7.x of slf4j
* fixes #388 by upgrading slf4j to 2.x * spring boot tests were failing due to Spring 2.7.x requiring slf4j 1.7.x * added spring.factories to prevent Spring from using its LoggingSystemLogback class causing a NoClassDefFoundError on class removed from slf4j 2.x * add sample docker-compose.yaml to easily test standalone mode
- Loading branch information
1 parent
9974521
commit 11b635a
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: "3.1" | ||
|
||
services: | ||
mock-oauth2-server: | ||
image: mock-oauth2-server:latest | ||
ports: | ||
- "8080:8080" | ||
volumes: | ||
- ./src/test/resources/config.json:/app/config.json | ||
environment: | ||
LOG_LEVEL: "debug" | ||
SERVER_PORT: 8080 | ||
JSON_CONFIG_PATH: /app/config.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
org.springframework.boot.logging.LoggingSystemFactory=\ | ||
org.springframework.boot.logging.java.JavaLoggingSystem.Factory |