Skip to content

Conversation

@faheelsattar
Copy link
Collaborator

πŸ“ Summary

Introduces an optional color flag for text log fmt
Closes #867

β›± Motivation and Context

Previously we were enforcing color for text logs, this change makes it configurable, so users can choose depending on their preference.

πŸ“š References


βœ… I have run these commands

  • make lint
  • make test-race
  • go mod tidy

use Hoodi
-json
log in JSON format instead of text
-color
Copy link
Collaborator

@bharath-123 bharath-123 Dec 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good to document that, this won't have any effect if -json is selected. A small sentence would be helpful.

Something like:
This option won't have any effect if -json is enabled.

@faheelsattar faheelsattar merged commit 36bc01f into flashbots:develop Dec 1, 2025
2 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.

logrus formatted changed to instantiate with ForceColors true

3 participants