mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-11 09:10:21 +00:00
fix(telemetry): make devnet debug_logfile config-dir-relative
xrpld resolves a relative [debug_logfile] against the config file's own directory (docker/telemetry), not the working directory. The value `docker/telemetry/data/logs/devnet/debug.log` therefore doubled the prefix to docker/telemetry/docker/telemetry/... — the collector's mount never saw the log, so no lines reached Loki. Use the config-dir-relative form `data/logs/devnet/debug.log`, which resolves to docker/telemetry/data/logs/devnet/debug.log — exactly the dir the compose stack bind-mounts as /var/log/xrpld. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -34,8 +34,11 @@ advisory_delete=0
|
||||
[database_path]
|
||||
docker/telemetry/data
|
||||
|
||||
# Path is resolved relative to this config file's directory (docker/telemetry),
|
||||
# so this writes to docker/telemetry/data/logs/devnet/debug.log — the same
|
||||
# dir the compose stack bind-mounts into the collector as /var/log/xrpld.
|
||||
[debug_logfile]
|
||||
docker/telemetry/data/logs/devnet/debug.log
|
||||
data/logs/devnet/debug.log
|
||||
|
||||
[rpc_startup]
|
||||
{ "command": "log_level", "severity": "debug" }
|
||||
|
||||
Reference in New Issue
Block a user