Spring Boot Log4j2 Configuration by excluding default Logback

Before diving into what, why and how of Log4j2, we must know what, why and how logging is. Logging is very important for troubleshooting…