mev-boost
mev-boost copied to clipboard
#253 added env var to log to file
📝 Summary
adds optional env-var to specify a log file location.
⛱ Motivation and Context
This enables us to ship logs off-node
📚 References
#253 - required for prometheus metrics grok exporter dependency
✅ I have run these commands
- [ ✅ ]
make lint - [ ✅ ]
make test-race - [ ✅]
go mod tidy
probably needs to support log-file-rotation etc... draft for now
Usually it's best practice to only log to stdout/stderr and have other tools (i.e. systemd, etc) take care of writing to files and rotating.
anyhow, thanks for contributing 🙏 ⭐