Repository navigation
Conversation
The log store guide and the environment variable reference described --log-store-* flags and GRAPH_LOG_STORE_* environment variables that do not exist; the log store is only configurable through the [log_store] section of the TOML config (graphprotocol#6278). Replace those examples with TOML, document every [log_store] key with its defaults, drop the nonexistent max-size/retention-days options in favour of retention_hours, and note that _logs returns a NotSupported error when no store is configured (graphprotocol#6637). Also update the matching startup message.
mikeua
force-pushed
the
docs-log-store-toml-config
branch
from
October 13, 2026 15:59
adae6fd to
5f7be1f
Compare
This branch has not been deployed
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.
docs/log-store.mdand the "Log Store Configuration" section ofdocs/environment-variables.mddescribe--log-store-*CLI flags andGRAPH_LOG_STORE_*environment variables (plus "deprecated"GRAPH_ELASTICSEARCH_*aliases). None of these exist:node/src/opt.rshas no such flags, nothing reads those variables, and per #6278 the log store is configured only through the[log_store]section of the TOML config (LogStoreSectioninnode/src/config.rs). Someone following the guide today gets no log store and no error.Changes:
[log_store]TOML examples.[log_store]keys, their backends and defaults (index = "subgraph",timeout_secs = 10,retention_hours = 0), and a short migration note for the removed--elasticsearch-*flags /ELASTICSEARCH_*variables.MAX_SIZE/RETENTION_DAYSoptions; the file backend only hasretention_hours.username/password, which the code supports but the guide didn't mention._logsreturns aNotSupportederror when no store is configured, not empty results; update the two places in the guide that said otherwise, and the matching startupinfo!message innode/src/launcher.rs.Docs-only apart from the one log message string.