Merge PR #152: fix Cuprate logging defaults
This commit was merged in pull request #152.
This commit is contained in:
@@ -125,6 +125,19 @@ app:
|
|||||||
# uses for its own RPC port (-rpcbind=0.0.0.0:8332 internally, gate
|
# 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
|
# restricts it externally) — not a new risk, the same one already
|
||||||
# reviewed and accepted for Bitcoin's RPC.
|
# reviewed and accepted for Bitcoin's RPC.
|
||||||
|
# - tracing.stdout.level / tracing.file.{level,max_log_files}: an
|
||||||
|
# operator reading Cuprated.toml on disk should be able to see and
|
||||||
|
# tune the log level directly instead of the file silently omitting
|
||||||
|
# the whole [tracing] table (verified live on amishparadise
|
||||||
|
# 2026-09-01: the deployed file had no [tracing] section at all, and
|
||||||
|
# the level was only discoverable by running `cuprated
|
||||||
|
# --generate-config` and diffing). file.level is set to "info", NOT
|
||||||
|
# cuprated's own raw default of "debug" — matches the reference dev
|
||||||
|
# config this app was built and tested against
|
||||||
|
# (ssmithx@archy-dev-pa:/home/ssmithx/cuprate/Cuprated.toml,
|
||||||
|
# verified 2026-09-01), which deliberately runs file logging quieter
|
||||||
|
# than the binary default. max_log_files similarly follows that
|
||||||
|
# reference (14, not the binary default of 7).
|
||||||
files:
|
files:
|
||||||
- path: /var/lib/archipelago/cuprate/Cuprated.toml
|
- path: /var/lib/archipelago/cuprate/Cuprated.toml
|
||||||
content: |
|
content: |
|
||||||
@@ -133,6 +146,13 @@ app:
|
|||||||
|
|
||||||
[rpc.restricted]
|
[rpc.restricted]
|
||||||
enable = true
|
enable = true
|
||||||
|
|
||||||
|
[tracing.stdout]
|
||||||
|
level = "info"
|
||||||
|
|
||||||
|
[tracing.file]
|
||||||
|
level = "info"
|
||||||
|
max_log_files = 14
|
||||||
overwrite: false
|
overwrite: false
|
||||||
|
|
||||||
health_check:
|
health_check:
|
||||||
|
|||||||
+3253
-3255
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user