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

refactor: move escrow logs to TRACE and msg body logs to DEBUG #913

Merged
merged 4 commits into from
Jan 2, 2025

Conversation

kentbull
Copy link
Contributor

@kentbull kentbull commented Dec 23, 2024

Description:

  • Adds TRACE logging level in keri.help.__init__ module.
  • Moves escrow logs to TRACE logging level.
  • Moves event body logging to DEBUG level.
  • INFO log level contains SAID or prefix of events rather than an event body.
  • Uniformly uses log substitution where it would improve performance.
  • Uniformly uses f-strings where performance is equivalent yet readability is enhanced.
  • serder.pretty() used in favor of serder.ked or json.dumps(serder.ked, indent=1)
  • Added escrow-specific strings to each escrow to clarify in logs which escrow produced which log message.
  • Various spelling corrections and wording cleanups like Kevery process to Kevery

There will be a separate PR to main for similar changes. Phil has already made similar changes in main.

@kentbull kentbull marked this pull request as ready for review December 26, 2024 17:19
@m00sey m00sey self-assigned this Dec 26, 2024
@m00sey m00sey merged commit 247c6e2 into WebOfTrust:v1.1.27 Jan 2, 2025
6 checks passed
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