feat: overwrite reth default cache directory#238
Merged
avalonche merged 2 commits intoflashbots:mainfrom Sep 25, 2025
Merged
Conversation
9b7188e to
192ccac
Compare
avalonche
reviewed
Sep 11, 2025
Collaborator
avalonche
left a comment
There was a problem hiding this comment.
you might need to update log dirs for integration / test files and README docs
192ccac to
3c82b0f
Compare
Member
Author
Added docs but I didn't found parsing of logs in tests. Do you have any pointers? |
Collaborator
|
maybe in builder-playground or rollup-boost integration tests |
Member
Author
Did a quick search and didn't find any mention of directly getting logs with the full path to reth/logs. Seems like tests have their own |
avalonche
approved these changes
Sep 25, 2025
This was referenced Jan 17, 2026
This was referenced Feb 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Summary
Close #232
Overwrite current
<CACHE_DIR>/reth/logsdirectory for log files to<CACHE_DIR>/op-rbuilder/logsdirectory.Still configurable with
--log.file.directoryarg.💡 Motivation and Context
Using reth's
Cli, we already inherit different tracing layers for logging.The default value for the file logger point to
<CACHE_DIR>/reth/logs.If running op-rbuilder with reth, this can mix cache files.
This PR correctly set the file log output. You can access by default debug level trace and access log at:
~/.cache/op-rbuilder/logson Linux~/Library/Caches/op-rbuilder/logson macOS%localAppData%/op-rbuilder/logson WindowsAdditional file logging configuration (accessible with
--help):The log file is still named
reth.log, this open PR should make it configurable paradigmxyz/reth#17883✅ I have completed the following steps:
make lintmake test