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

Slightly less verbose guardian logging at info level #2293

Merged
merged 5 commits into from
Jan 31, 2023

Conversation

SEJeff
Copy link
Collaborator

@SEJeff SEJeff commented Jan 25, 2023

This change is the first in what will likely be a series of changes to log less debugging information by default. Useful non-debug data should be returned from the guardian at the info log level.

I looked through each watcher by searching for logger\.Info and updating where it made sense.

bruce-riley
bruce-riley previously approved these changes Jan 25, 2023
@SEJeff SEJeff force-pushed the excessive-watcher-logging-to-debug-yo branch from 5356197 to f7b8100 Compare January 26, 2023 16:04
@evan-gray evan-gray force-pushed the excessive-watcher-logging-to-debug-yo branch from f7b8100 to 53b0fe7 Compare January 27, 2023 11:36
@SEJeff SEJeff force-pushed the excessive-watcher-logging-to-debug-yo branch from 53b0fe7 to 9665ed2 Compare January 27, 2023 14:54
@evan-gray evan-gray force-pushed the excessive-watcher-logging-to-debug-yo branch from 9665ed2 to 669621b Compare January 27, 2023 15:26
It would be nice to redo this log entry to log something more human
readable in addition to a json blob, but one thing at a time.
The near watcher logs when attempting to poll a block and when it
successfully polls a block in addition to some metrics. These are useful
logs, but more suited for debug loglevel.
This cuts down on an enormous amount of additional logging.
* Set some info logs to debug
* Fix tyop of missmatch --> mismatch
@SEJeff SEJeff force-pushed the excessive-watcher-logging-to-debug-yo branch from 669621b to 1590539 Compare January 30, 2023 19:15
@evan-gray evan-gray merged commit cca154b into main Jan 31, 2023
@evan-gray evan-gray deleted the excessive-watcher-logging-to-debug-yo branch January 31, 2023 14:24
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.

5 participants