Skip to content

Structured logging prototype#296

Draft
meling wants to merge 5 commits into
relab:mainfrom
DanielGaudlandJacobsen:structured-logging-prototype
Draft

Structured logging prototype#296
meling wants to merge 5 commits into
relab:mainfrom
DanielGaudlandJacobsen:structured-logging-prototype

Conversation

@meling
Copy link
Copy Markdown
Member

@meling meling commented May 7, 2026

This is not ready to be merged, but I want to keep the work, so that we can create a cleanup PR later.

- Updated logging interfaces from logging.Logger to logging.Logger2 in various files including:
  - protocol/leaderrotation/carousel.go
  - protocol/leaderrotation/factory.go
  - protocol/leaderrotation/reputation.go
  - protocol/rules/chainedhotstuff.go
  - protocol/rules/factory.go
  - protocol/rules/fasthotstuff.go
  - protocol/rules/simplehotstuff.go
  - protocol/synchronizer/synchronizer.go
  - protocol/votingmachine/votingmachine.go
  - security/blockchain/blockchain.go
  - server/clientio.go
  - server/server.go
  - twins/generator.go
  - twins/generator_test.go
  - twins/node.go
  - twins/timeoutmgr.go
  - twins/twins_test.go
  - twins/twinsrules.go
  - twins/vulnfhs.go
  - wiring/client.go
  - wiring/consensus.go
  - wiring/core.go
  - wiring/security.go

- Replaced logging statements to use zap's structured logging features for better log management and readability.
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.

2 participants