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

Better Logging on Reconciler #27

Merged
merged 1 commit into from
May 13, 2020
Merged

Conversation

patrick-ogrady
Copy link
Contributor

Motivation

On initialization, the reconciler prints out each previously seen account that was added (super annoying when there are more than 10 previously seen accounts). Also, the reconciler prints a confusing log message when it is waiting to start inactive reconciliation.

Solution

  • Log the number of previously seen accounts initialized instead of each account.
  • Log a clearer message when waiting to start the inactive reconciler.

@patrick-ogrady patrick-ogrady force-pushed the patrick/less-verbose branch from 81a2421 to a185120 Compare May 13, 2020 15:52
@patrick-ogrady patrick-ogrady changed the title Less Verbose Logging on Reconciler Better Logging on Reconciler May 13, 2020
@patrick-ogrady patrick-ogrady requested review from niallo and annieke May 13, 2020 15:52
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1246

  • 4 of 5 (80.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 68.521%

Changes Missing Coverage Covered Lines Changed/Added Lines %
reconciler/reconciler.go 0 1 0.0%
Totals Coverage Status
Change from base Build 1224: 0.2%
Covered Lines: 1010
Relevant Lines: 1474

💛 - Coveralls

@patrick-ogrady patrick-ogrady merged commit 2278020 into master May 13, 2020
@patrick-ogrady patrick-ogrady deleted the patrick/less-verbose branch May 13, 2020 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants