BAH-4349 - Logging Configuration Fixes #51
Merged
+20
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
JIRA → BAH-4349
Overview
This PR addresses logging configuration issues by resolving dependency conflicts and adjusting log levels for better visibility of application behavior.
Changes
1. Exclude Logback Dependencies to Avoid Conflicts
Added exclusions for
logback-classicfrom multiple Spring and Liquibase dependencies to prevent conflicts with the Log4j2 logging framework currently in use:Rationale: Spring Boot by default includes Logback as its logging implementation. Since this project uses Log4j2, excluding Logback prevents classpath conflicts and ensures consistent logging behavior throughout the application.
2. Enable INFO Log Level
Changed the root logger level from
WARNtoINFO:Rationale: INFO level logging provides better visibility into application behavior, making it easier to troubleshoot issues and monitor application operations without overwhelming the logs with DEBUG-level details.
Impact