Skip to content

Conversation

@bgm-malbeclabs
Copy link
Contributor

@bgm-malbeclabs bgm-malbeclabs commented Apr 15, 2025

What Changed

Resolves #158

This PR adds the slog package for structured logging. All of the log functions have been replaced to use slog which enables structured logging and setting log levels. This PR also adds a new flag v to enable verbose logging, aka debug log level, which is set to false by default.

Testing Evidence

  • E2E tests and go tests pass

@bgm-malbeclabs bgm-malbeclabs marked this pull request as draft April 15, 2025 15:30
@bgm-malbeclabs bgm-malbeclabs force-pushed the reduce_dzd_logging_verbosity branch 2 times, most recently from f01642a to e427b5d Compare April 15, 2025 18:44
@bgm-malbeclabs bgm-malbeclabs force-pushed the reduce_dzd_logging_verbosity branch from e427b5d to 6ac327d Compare April 15, 2025 20:29
@bgm-malbeclabs bgm-malbeclabs marked this pull request as ready for review April 15, 2025 21:14
@bgm-malbeclabs bgm-malbeclabs changed the title add slog for log levels add slog for log levels and structured JSON logs Apr 15, 2025
@bgm-malbeclabs bgm-malbeclabs merged commit 9f20567 into main Apr 15, 2025
5 checks passed
@bgm-malbeclabs bgm-malbeclabs deleted the reduce_dzd_logging_verbosity branch April 15, 2025 21:37
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.

make doublezerod logging less verbose

4 participants