spring-boot-mysql-rest-api-tutorial
spring-boot-mysql-rest-api-tutorial copied to clipboard
Feature/logging Adding logging functionality to the application
- General logging: Only important information (INFO, WARN, ERROR, and FATAL) is logged by default.
- Detailed web request/response logs: You'll have more details about web interactions.
- Focused Hibernate logging: You'll get warnings about potential Hibernate issues and detailed SQL statements for debugging database interactions, but exceptions are strictly logged as errors.
- Centralized logging: All log messages are written to a single file ("application.log") in the "logs/" directory.
- File rotation: The log file size is capped at 10MB, preventing excessive disk usage