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

fix: log more details when setting up DB connection #443

Merged
merged 1 commit into from
Mar 29, 2022
Merged

Conversation

blgm
Copy link
Member

@blgm blgm commented Mar 29, 2022

We recently had to debug a situation where setting up the DB connection
failed. We found this difficult because the logs were quite sparse in
what they recorded. This change adds username and TLS string to the log,
both of which should not contain secrets.

Checklist:

  • [ ] Have you added or updated tests to validate the changed functionality?
  • Have you added Draft Release Notes in docs/draft-release-notes.md?
  • Have you followed the Conventional Commits specification?

We recently had to debug a situation where setting up the DB connection
failed. We found this difficult because the logs were quite sparse in
what they recorded. This change adds username and TLS string to the log,
both of which should not contain secrets.
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/181713675

The labels on this github issue will be updated when the story is started.

@FelisiaM FelisiaM self-requested a review March 29, 2022 14:17
@FelisiaM FelisiaM merged commit 691f206 into main Mar 29, 2022
@blgm blgm deleted the dbsetuplogging branch June 20, 2022 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants