https://github.com/roc41d/spring-boot-log4j2-config-example
Spring Boot and Log4j2 Config Example
https://github.com/roc41d/spring-boot-log4j2-config-example
config configuration example java java-8 log4j2 maven spring-boot springboot
Last synced: 11 months ago
JSON representation
Spring Boot and Log4j2 Config Example
- Host: GitHub
- URL: https://github.com/roc41d/spring-boot-log4j2-config-example
- Owner: roc41d
- Created: 2021-01-20T10:57:39.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-20T11:06:15.000Z (about 5 years ago)
- Last Synced: 2025-01-21T21:13:23.226Z (about 1 year ago)
- Topics: config, configuration, example, java, java-8, log4j2, maven, spring-boot, springboot
- Language: Java
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Boot and Log4j2 Config Example
## Requirements
1. Java - 1.8.x
2. Maven - 3.xx
## Steps to setup
1. Clone the application
```
git clone https://github.com/roc41d/spring-boot-log4j2-config-example.git
```
2. Build and run the app using maven
```
cd spring-boot-log4j2-config-example
mvn package
java -jar target/log4j2config-0.0.1-SNAPSHOT.jar
```
You can also run the app without packaging it using
```
mvn spring-boot:run
```