Skip to content

Commit

Permalink
Increase log verbosity for debugging
Browse files Browse the repository at this point in the history
Enabled DEBUG log level for AWS Secrets Manager SQL and Spring framework to facilitate easier debugging. This will provide more detailed logs for datasource and application behaviors.
  • Loading branch information
Gcolon021 committed Aug 23, 2024
1 parent f0ebbcc commit e5c80b5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/main/resources/application-bdc.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,10 @@ spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.datasource.driver-class-name=com.amazonaws.secretsmanager.sql.AWSSecretsManagerPostgreSQLDriver
spring.datasource.url=jdbc-secretsmanager:postgres://${DATASOURCE_URL}/auth?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&autoReconnectForPools=true
spring.datasource.username=${DATASOURCE_USERNAME}
server.port=80
server.port=80

# make datasource logs verbose for debugging
logging.level.com.amazonaws.secretsmanager.sql=DEBUG

# Make application logs verbose for debugging
logging.level.org.springframework=DEBUG

0 comments on commit e5c80b5

Please sign in to comment.