This spring boot application implements the Log4J version 2 along with the Sample Rest service and swagger UI to trigger the rest services.
Features:
- Using Log4J Version 2 and Spring Boot Version 3
- Swagger UI Integration
- Sample Rest Service with Swagger UI Annotations
- Log4J configuration for console logs
- Lo4J Configuration for creating a new log file based on date/time.
Future Work:
- Configure Log4J for database table logging. i.e JDBCAppender
- Tryout AsyncAppender
Steps to run the application
- clone the repository
- mvn clean install -Dmaven.test.skip=true
- Run as Java Application ( SpringbootLog4jApplication )
- Check the console
Study Material: