From db45694b6cf1fb831c990884ba0f519a591e44b0 Mon Sep 17 00:00:00 2001 From: Takwa Date: Wed, 28 Oct 2026 13:47:25 +0100 Subject: [PATCH] Log kubo at info, in JSON, on the bootstrappers kubo logs only errors by default. ProbeLab asked us to ship the bootstrappers' logs for them after the bootstrap.libp2p.io handover; info adds libp2p's and the DHT's warnings and info lines, and JSON matches needle so Loki can parse the fields. Co-Authored-By: Claude Opus 5.5 --- k8s/bootstrap/deployment.yaml.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/k8s/bootstrap/deployment.yaml.j2 b/k8s/bootstrap/deployment.yaml.j2 index 0d4033d..757671d 100644 --- a/k8s/bootstrap/deployment.yaml.j2 +++ b/k8s/bootstrap/deployment.yaml.j2 @@ -136,6 +136,14 @@ spec: value: 12GiB - name: IPFS_TELEMETRY value: "off" + # kubo logs only errors by default. Info adds libp2p's and the + # DHT's warnings and info lines, which ProbeLab asked us to ship + # for them; it has no per-connection peer IDs or agent versions. + # JSON, as on needle, so Loki can parse the fields. + - name: GOLOG_LOG_LEVEL + value: info + - name: GOLOG_LOG_FMT + value: json # RPC bearer token for probes and CLI calls (kubo's --api-auth takes # no env var or config fallback). Expanded inside `sh -c` below, so # it only appears in argv of processes in THIS container's PID