vkrdy / spring-boot-log4j-2-demo

Spring Boot Log4j2 Demo with Async Loggers

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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


Languages

Language:Shell 50.8%Language:Batchfile 39.2%Language:Java 10.0%