Reading the node's log
Running in production12.5.11+

Reading the node's log

What lotusd writes to debug.log and the console, the lines that need action, how repeating lines are counted and how to get more detail.

lotusd writes one log: debug.log in the data directory, and the same lines on the console with -printtoconsole (the default in Docker, read with docker logs lotusd). The full reference is doc/logging.md in the source tree.

What a healthy start looks like #

Text
🌸 lotusd v12.5.11 (release build)
…
⛓️  Best chain loaded: block 1,434,257 | 2026-11-27T08:27:15Z | 100.0% verified
πŸ“¦ Block index loaded in 9.0 s
🧩 Modules: βœ… all module DBs in sync with chain tip; no replay needed.
⛓️  Chain height: 1,434,257
βœ… Upgrades in force on main after block 1,434,257: …
⏳ Upgrade pending on main: Napoleon, merged mining v2, … and the 12.5.10 rules (…), for the blocks after a median time past of <time> (<mtp>), in about <duration> … (the time and the countdown are printed once the date is announced, `-upgradedateshown`)
πŸ“‘ Listener summary (14 entries):
βœ… Ready: initialization took 13.6 s, chain at block 1,434,257

Every subsystem says once whether it is on and, when it is off, why and which option turns it on (βšͺ ZMQ [off] β€” set -zmqpubhashblock …).

Lines that need you #

LineDo
❌ ERROR: …read the end of the line: it names the fix (restart with -reindex-chainstate, check the disk)
⚠️ …something works in a degraded way; the line says what
Parent feeder (btc): ⚠️ no new parent tip for …check the parent chain connection (-parentp2pconnect)
⚠️ Upgrade no longer active … after a chain rollbacka reorganisation took the chain below an upgrade gate: check that your node follows the chain the network does
πŸ“¦ Block store conversion: refused, the node does not start (…)the reason and the fix follow on the line
Stratum router: tier switched to LOCAL (node synced) β€” ⚠️ WARNING: solo mining …expected on a solo node; otherwise check the upstream pool

State changes #

Each of these is written once, when it happens:

  • πŸŽ‰ Upgrade active on <network> from block H: … when the chain reaches an upgrade gate (napoleontest: the 12.5.10 rules at median time past 1795867200, 28 November 2026 12:00 UTC; mainnet: Napoleon, date to be announced);
  • ⛓️ Initial block download complete: chain synced at block …;
  • Parent feeder (<chain>): βœ… in step with the parent chain …;
  • Child chains: block … records … header(s) of child chain … (the first record of this chain …);
  • Stratum router: tier switched to ….

Long operations #

Conversions, reindexes, module replays and rebuilds print a line every few seconds with the count, the percentage, the rate and the time left, then one end line:

Text
🧩 Modules: πŸ” replay 1,200/9,163 (13.1%) | block 1,200 | 120 blk/s | ETA 1m 06s
MMv3: rebuilding the parent header tree: 2,000 / 9,000 blocks (22.2%), 400 blocks/s, ETA 17.5 s
MMv3: rebuilding the parent header tree: done, 9,000 blocks in 22.4 s

Repeating lines #

A line that a busy node would write thousands of times a day (NAT-punch introductions, block templates, sitemap rewarms, memory release) is written once per window, with the count of the others:

Text
πŸ•³οΈπŸ€ NAT-punch: brokering punch … (41 more like it in the last 5 minutes)

Nothing is lost: the count is written at the latest when the window ends, and at shutdown.

More detail #

Add -debug=<category> (repeatable), or change it on a running node:

Text
lotus-cli logging '["net","pool"]' '[]'
lotus-cli setliveparam debug '["mining"]'

Useful categories: net (peers, NAT punch), mining (every block template), stratum, mergemine, pool, parentchain, childchain, sitemap, mempool, http, rpc. -debug alone turns on all of them (a lot of output).

Never in the log #

Passwords, RPC credentials, private keys, wallet passphrases, notary keys and cookie contents are never written; sensitive options show as ****.

Source share/www/docs/logs.md in the lotusd repository
Checked against doc/logging.md doc/logging-style.md src/logging.h src/logging.cpp src/upgradelog.cpp src/util/progresslog.h src/init.cpp