mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-29 10:00:30 +00:00
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:
@@ -37,10 +37,10 @@ services:
|
||||
# Mount collector pipeline config (receivers → processors → exporters)
|
||||
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml:ro
|
||||
# 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/.
|
||||
# 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
|
||||
depends_on:
|
||||
- tempo
|
||||
|
||||
@@ -36,7 +36,7 @@ receivers:
|
||||
# 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.
|
||||
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/...).
|
||||
include:
|
||||
- /var/log/rippled/*/debug.log
|
||||
|
||||
@@ -95,7 +95,7 @@ docker/telemetry/data
|
||||
# --- Logging ----------------------------------------------------------------
|
||||
|
||||
[debug_logfile]
|
||||
/home/pratik/xrpld-logs/mainnet/debug.log
|
||||
/var/log/xrpld/mainnet/debug.log
|
||||
|
||||
[rpc_startup]
|
||||
{ "command": "log_level", "severity": "debug" }
|
||||
|
||||
Reference in New Issue
Block a user