config(telemetry): use generic /var/log/xrpld path, drop personal home dir

Replace the hardcoded /home/pratik/xrpld-logs path with the conventional
/var/log/xrpld in the mainnet config's [debug_logfile], the docker-compose
log volume mount, and the collector-config comment. Removes a personal home
directory from shipped config.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Pratik Mankawde
2026-07-06 16:50:21 +01:00
parent b5d7e3984f
commit f64f4b35e7
3 changed files with 4 additions and 4 deletions

View File

@@ -37,10 +37,10 @@ services:
# Mount collector pipeline config (receivers → processors → exporters) # Mount collector pipeline config (receivers → processors → exporters)
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml:ro - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml:ro
# Phase 8: Mount rippled log directories for filelog receiver. # Phase 8: Mount rippled log directories for filelog receiver.
# User-run xrpld writes to /home/pratik/xrpld-logs/<network>/debug.log. # User-run xrpld writes to /var/log/xrpld/<network>/debug.log.
# Integration test still writes to /tmp/xrpld-integration/. # Integration test still writes to /tmp/xrpld-integration/.
# Both are mounted read-only so the collector can tail debug.log files. # Both are mounted read-only so the collector can tail debug.log files.
- /home/pratik/xrpld-logs:/var/log/rippled:ro - /var/log/xrpld:/var/log/rippled:ro
- /tmp/xrpld-integration:/var/log/rippled-integration:ro - /tmp/xrpld-integration:/var/log/rippled-integration:ro
depends_on: depends_on:
- tempo - tempo

View File

@@ -36,7 +36,7 @@ receivers:
# trace_id, span_id, message) via regex. The trace_id and span_id are # trace_id, span_id, message) via regex. The trace_id and span_id are
# optional — only present when the log was emitted within an active span. # optional — only present when the log was emitted within an active span.
filelog: filelog:
# Tails both user-run xrpld logs (/home/pratik/xrpld-logs/...) # Tails both user-run xrpld logs (/var/log/xrpld/...)
# and integration-test logs (/tmp/xrpld-integration/...). # and integration-test logs (/tmp/xrpld-integration/...).
include: include:
- /var/log/rippled/*/debug.log - /var/log/rippled/*/debug.log

View File

@@ -95,7 +95,7 @@ docker/telemetry/data
# --- Logging ---------------------------------------------------------------- # --- Logging ----------------------------------------------------------------
[debug_logfile] [debug_logfile]
/home/pratik/xrpld-logs/mainnet/debug.log /var/log/xrpld/mainnet/debug.log
[rpc_startup] [rpc_startup]
{ "command": "log_level", "severity": "debug" } { "command": "log_level", "severity": "debug" }