-
Notifications
You must be signed in to change notification settings - Fork 13
Add Structured Logging for Better Observability #500
Copy link
Copy link
Open
Description
Issue: The codebase uses unstructured logging extensively, making it difficult to parse logs programmatically.
Examples:
logger.Debugf("Batch containing %d TXs was stored in the being validated list", batchSize)
logger.Infof("Client [%d] successfully created and connected to sv at %s", i, label)Recommendation: Adopt structured logging:
logger.Debug("batch stored for validation",
"batch_size", batchSize,
"service", "signature_verifier")
logger.Info("client connected",
"client_id", i,
"endpoint", label,
"service", "signature_verifier")Impact: Medium - Significantly improves log analysis and monitoring
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels