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 11 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Simplify logging configuration across environment files
Removed redundant logging properties from environment-specific files and centralized them in `application.properties`.
Gcolon021 committed Mar 20, 2025
commit 11c3ee433f328e74e21e076f465745cd43cf8827
Original file line number Diff line number Diff line change
@@ -11,7 +11,3 @@ data-export.s3.signedUrl-expiry-minutes=60

dictionary.host = http://wildfly.___TARGET_STACK___:8080/

# Logging File Output https://docs.spring.io/spring-boot/reference/features/logging.html#features.logging.file-output
# If you are adding additional log files please add them to /var/log/ directory.
logging.file.name=/var/log/hpds.log
logging.level.root=info
Original file line number Diff line number Diff line change
@@ -9,9 +9,4 @@ data-export.s3.bucket-name=pic-sure-auth-prod-data-export
data-export.s3.region=us-east-1
data-export.s3.signedUrl-expiry-minutes=60

dictionary.host = http://wildfly.___TARGET_STACK___:8080/

# Logging File Output https://docs.spring.io/spring-boot/reference/features/logging.html#features.logging.file-output
# If you are adding additional log files please add them to /var/log/ directory.
logging.file.name=/var/log/hpds.log
logging.level.root=info
dictionary.host = http://wildfly.___TARGET_STACK___:8080/
7 changes: 1 addition & 6 deletions service/src/main/resources/application-open.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
SMALL_JOB_LIMIT = 100
SMALL_TASK_THREADS = 1
LARGE_TASK_THREADS = 1

# Logging File Output https://docs.spring.io/spring-boot/reference/features/logging.html#features.logging.file-output
# If you are adding additional log files please add them to /var/log/ directory.
logging.file.name=/var/log/hpds.log
logging.level.root=info
LARGE_TASK_THREADS = 1
2 changes: 2 additions & 0 deletions service/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -2,5 +2,7 @@ SMALL_JOB_LIMIT = 100
SMALL_TASK_THREADS = 1
LARGE_TASK_THREADS = 1

# Logging File Output https://docs.spring.io/spring-boot/reference/features/logging.html#features.logging.file-output
# If you are adding additional log files please add them to /var/log/ directory.
logging.file.name=/var/log/hpds.log
logging.level.root=info