mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-21 14:20:56 +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)
|
# 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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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" }
|
||||||
|
|||||||
Reference in New Issue
Block a user