Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logging configuration to application properties files #139

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

Gcolon021
Copy link
Contributor

Added logging.file.name property to specify log file output locations in all relevant property files. This ensures logs are stored in the /var/log/ directory.

Added logging.file.name property to specify log file output locations in all relevant property files. This ensures logs are stored in the /var/log/ directory.
@Gcolon021 Gcolon021 self-assigned this Mar 18, 2025
@Gcolon021 Gcolon021 added the enhancement New feature or request label Mar 18, 2025
Not sure if logback.xml or spring takes priority when configuring application.
Logs do not print to appropriate file. Attempting to update application configuration to remedy this.
@Gcolon021 Gcolon021 requested a review from ramari16 March 19, 2025 12:52
Modified log patterns to improve readability and align with standard conventions. This includes adding thread names in brackets and replacing '-' with ':'. Changes ensure consistent formatting across all outputs.
Replaced hardcoded log patterns with a configurable LOG_PATTERN variable. This allows flexibility in formatting log entries and standardizes timestamps to ISO 8601 format with UTC time zone. Changes apply to both console and file appenders.
Removed redundant logging properties from environment-specific files and centralized them in `application.properties`.
Both the auth and open have overrides so they be easily distinguished in the aggregated logs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants