Skip to content

kumarandhanapal/spring-boot-log4j-2-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot and Log4j 2 Example

Learn how to use Log4j 2 with Spring Boot -

https://www.callicoder.com/spring-boot-log4j-2-example/

Requirements

  1. Java - 1.8.x

  2. Maven - 3.x.x

Steps to setup

1. Clone the application

git clone https://github.com/callicoder/spring-boot-log4j-2-demo.git

2. Build and run the app using maven

cd spring-boot-log4j-2-demo
mvn package
java -jar target/log4j2-demo-0.0.1-SNAPSHOT.jar

You can also run the app without packaging it using -

mvn spring-boot:run

About

Spring Boot Log4j2 Demo with Async Loggers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 50.8%
  • Batchfile 39.2%
  • Java 10.0%