fix(cuprate): make Cuprated.toml logging levels explicit

apps/cuprate/manifest.yml only ever wrote network/target_max_memory/
rpc.restricted.enable into Cuprated.toml, so the [tracing.stdout] and
[tracing.file] tables were silently absent — cuprated still applied
its built-in info/debug/7 defaults, but nothing on disk showed it.
Verified live on amishparadise 2026-09-01: the deployed 5-line file
had no [tracing] section at all, and the level was only discoverable
by running `cuprated --generate-config` and diffing.

Add both tables to the manifest's files[].content with the same
values cuprated already defaults to, so every new install ships a
Cuprated.toml an operator can actually read and tune. overwrite:false
means already-deployed nodes (amishparadise included) keep their
existing file untouched — this only changes what fresh installs get.

Regenerated releases/app-catalog.json (unsigned) to embed the updated
manifest; needs scripts/sign-catalog.sh before it's authoritative for
the fleet.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ga6N8Jk1YdCTMMX1LjDpAr
This commit is contained in:
2026-09-01 12:19:20 +00:00
co-authored by Claude Sonnet 5
parent 6c31eb9d4a
commit e77f60085d
2 changed files with 3270 additions and 3255 deletions
+17
View File
@@ -125,6 +125,16 @@ app:
# uses for its own RPC port (-rpcbind=0.0.0.0:8332 internally, gate
# restricts it externally) — not a new risk, the same one already
# reviewed and accepted for Bitcoin's RPC.
# - tracing.stdout.level / tracing.file.{level,max_log_files}: values
# are identical to `cuprated --generate-config`'s own defaults (info /
# debug / 7) — nothing about the logging behaviour changes. They're
# spelled out explicitly anyway so an operator reading
# Cuprated.toml on disk can see and tune the log level directly,
# instead of the file silently omitting the whole [tracing] table
# and the actual level only being discoverable by running
# `cuprated --generate-config` and diffing it against this file
# (verified live on amishparadise 2026-09-01: the deployed file had
# no [tracing] section at all).
files:
- path: /var/lib/archipelago/cuprate/Cuprated.toml
content: |
@@ -133,6 +143,13 @@ app:
[rpc.restricted]
enable = true
[tracing.stdout]
level = "info"
[tracing.file]
level = "debug"
max_log_files = 7
overwrite: false
health_check:
+3253 -3255
View File
File diff suppressed because one or more lines are too long