log what arrives: one line per sync and per minute of gossip, every listing at debug; --log-level
A sync with a peer logs one info line when it brought something new (new and updated counts, per region). Listings that arrive by gossip are summed up once a minute. At debug level every stored listing gets a line with its id, region, outcome and the peer it came from. A duplicate is not news and logs nothing. --log-level takes debug, info, warn or error. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
This commit is contained in:
@@ -114,6 +114,14 @@ know its own public address (router, container) is told one with
|
||||
`--announce /dns4/<name>/tcp/4001`. Where the terminal is a log (containers),
|
||||
`--no-login-link` keeps the sign-in link, which holds the admin token, out of it.
|
||||
|
||||
**What the node logs.** At the default level it says when something new arrived:
|
||||
one line per sync with a peer (`synced listings peer=… new=101 updated=0
|
||||
regions="u0u=67 u1h=34"`, only when something was new) and one line a minute
|
||||
for listings that came by gossip (`received listings by gossip`). A node with
|
||||
nothing new stays quiet. `--log-level debug` adds a line for every single
|
||||
listing stored, with its ID, region, whether it was new or an update, and which
|
||||
peer it came from; `warn` and `error` show less.
|
||||
|
||||
## Running a node for real
|
||||
|
||||
A node needs to stay up to receive messages and keep your listings alive. Make
|
||||
|
||||
Reference in New Issue
Block a user