Difference between revisions of "Geth logs"

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
* Example [[geth (no options)|geth]] output with no options
  
  [[geth (no options)|geth]] output
+
  [[geth logs INFO]]
 
  [[geth logs WARN]]
 
  [[geth logs WARN]]
 
  [[geth logs ERROR]]
 
  [[geth logs ERROR]]
 
INFO [08-19|12:07:48.497] Looking for [[peers]]                        peercount=1 tried=40 static=0
 
 
INFO [08-19|12:07:48.497] Chain head was updated                  number=8,433,246 hash=tt875b..fa9e63 root=tt838b..8254c3 elapsed="459.939µs"
 
INFO [08-19|12:07:48.497] [[Unindexed transactions]]                  blocks=1  txs=1    tail=1,083,244 elapsed="108.554µs"
 
 
[[Snapshot extension registration failed peer=xxxxxx err="peer connected on snap without compatible eth support"]]
 
 
.../...
 
INFO [08-19|19:43:23.557] Imported new [[block headers]]              count=768  elapsed=108.252ms  number=778,176 hash=612ab6..f0897f age=3y2mo2w
 
INFO [08-19|19:43:23.684] Imported new block headers              count=384  elapsed=126.690ms  number=778,560 hash=dfc105..841dc9 age=3y2mo2w
 
.../...
 
  
 
  .../...
 
  .../...
Line 24: Line 13:
  
  
INFO [08-20|02:08:34.129] [[Upgrading chain index]]                    type=[[bloombits]] percentage=64
 
  
 
== Geth on Ethereum [[mainnet]] ==
 
== Geth on Ethereum [[mainnet]] ==
Line 126: Line 114:
 
  INFO [08-19|11:11:31.704] Loaded most recent local full block      number=0 hash=xx7e33..b88c1a td=1 age=3y7mo6d
 
  INFO [08-19|11:11:31.704] Loaded most recent local full block      number=0 hash=xx7e33..b88c1a td=1 age=3y7mo6d
 
  INFO [08-19|11:11:31.704] Loaded most recent local fast block      number=0 hash=x7e33..b88c1a td=1 age=3y7mo6d
 
  INFO [08-19|11:11:31.704] Loaded most recent local fast block      number=0 hash=x7e33..b88c1a td=1 age=3y7mo6d
  WARN [08-19|11:11:31.704] Failed to load snapshot, regenerating    err="missing or corrupted snapshot"
+
  WARN [08-19|11:11:31.704] [[Failed to load snapshot, regenerating]]   err="missing or corrupted snapshot"
 
  INFO [08-19|11:11:31.704] Rebuilding state snapshot  
 
  INFO [08-19|11:11:31.704] Rebuilding state snapshot  
 
  INFO [08-19|11:11:31.705] Regenerated local transaction journal    transactions=0 accounts=0
 
  INFO [08-19|11:11:31.705] Regenerated local transaction journal    transactions=0 accounts=0
Line 146: Line 134:
 
* [[Lighthouse]]: [[lighthouse logs]]
 
* [[Lighthouse]]: [[lighthouse logs]]
 
* [[Unclean shutdown detected]]
 
* [[Unclean shutdown detected]]
 +
* [[op-geth logs]]
  
 
== See also ==
 
== See also ==

Latest revision as of 12:07, 27 October 2024

  • Example geth output with no options
geth logs INFO
geth logs WARN
geth logs ERROR
.../...
INFO [08-20|02:13:18.249] Imported new block receipts              count=160  elapsed=350.683ms number=6,679,818 hash=6f1b08..738686 age=4mo1w6d  size=6.35MiB
.../...
INFO [08-20|02:11:00.316] State sync in progress                   synced=60.94% state=20.07GiB accounts=8,669,[email protected] slots=84,136,[email protected] codes=200,[email protected] eta=2m54.291s


Geth on Ethereum mainnet[edit]

INFO [08-19|19:00:21.379] Starting Geth on Ethereum mainnet...
INFO [08-19|19:00:21.379] Bumping default cache on mainnet         provided=1024 updated=4096
INFO [08-19|19:00:21.381] Maximum peer count                       ETH=50 LES=0 total=50
INFO [08-19|19:00:21.386] Set global gas cap                       cap=50,000,000
INFO [08-19|19:00:21.387] Allocated trie memory caches             clean=614.00MiB 
dirty=1024.00MiB
 INFO [08-19|19:00:21.388] Allocated cache and file handles         database=/Users/my- user/Library/Ethereum/geth/chaindata cache=2.00GiB handles=5120 
INFO [08-19|19:00:21.641] Opened ancient database                  database=/Users/my-user/Library/Ethereum/geth/chaindata/ancient readonly=false
INFO [08-19|19:00:21.645]
INFO [08-19|19:00:21.645] ---------------------------------------------------------------------------------------------------------------------------------------------------------
INFO [08-19|19:00:21.645] Chain ID:  1 (mainnet)
INFO [08-19|19:00:21.645] Consensus: Ethash (proof-of-work)
INFO [08-19|19:00:21.645]
INFO [08-19|19:00:21.645] Pre-Merge hard forks:
INFO [08-19|19:00:21.645]  - Homestead:                   1150000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/homestead.md)
INFO [08-19|19:00:21.645]  - DAO Fork:                    1920000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/dao-fork.md)
INFO [08-19|19:00:21.645]  - Tangerine Whistle (EIP 150): 2463000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/tangerine-whistle.md)
INFO [08-19|19:00:21.645]  - Spurious Dragon/1 (EIP 155): 2675000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/spurious-dragon.md)
INFO [08-19|19:00:21.645]  - Spurious Dragon/2 (EIP 158): 2675000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/spurious-dragon.md)
INFO [08-19|19:00:21.645]  - Byzantium:                   4370000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/byzantium.md)
INFO [08-19|19:00:21.645]  - Constantinople:              7280000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/constantinople.md)
INFO [08-19|19:00:21.645]  - Petersburg:                  7280000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/petersburg.md)
INFO [08-19|19:00:21.645]  - Istanbul:                    9069000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/istanbul.md)
INFO [08-19|19:00:21.645]  - Muir Glacier:                9200000  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/muir-glacier.md)
INFO [08-19|19:00:21.645]  - Berlin:                      12244000 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/berlin.md)
INFO [08-19|19:00:21.645]  - London:                      12965000 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/london.md)
INFO [08-19|19:00:21.645]  - Arrow Glacier:               13773000 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/arrow-glacier.md)
INFO [08-19|19:00:21.645]  - Gray Glacier:                15050000 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/gray-glacier.md)
INFO [08-19|19:00:21.645]
INFO [08-19|19:00:21.645] The Merge is not yet available for this network!
INFO [08-19|19:00:21.645]  - Hard-fork specification: https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/paris.md)
INFO [08-19|19:00:21.645] ---------------------------------------------------------------------------------------------------------------------------------------------------------
INFO [08-19|19:00:21.645]
INFO [08-19|19:00:21.647] Disk storage enabled for ethash caches   dir=/Users/my-user/Library/Ethereum/geth/ethash count=3
INFO [08-19|19:00:21.647] Disk storage enabled for ethash DAGs     dir=/Users/my-user/Library/Ethash count=2
INFO [08-19|19:00:21.647] Initialising Ethereum protocol           network=1 dbversion=8
INFO [08-19|19:00:21.668] Loaded most recent local header          number=0 hash=d4e567..cb8fa3 td=17,179,869,184 age=53y4mo3w
INFO [08-19|19:00:21.669] Loaded most recent local full block      number=0 hash=d4e567..cb8fa3 td=17,179,869,184 age=53y4mo3w
INFO [08-19|19:00:21.669] Loaded most recent local fast block      number=0 hash=d4e567..cb8fa3 td=17,179,869,184 age=53y4mo3w
INFO [08-19|19:00:21.673] Loaded local transaction journal         transactions=0 dropped=0
INFO [08-19|19:00:21.673] Regenerated local transaction journal    transactions=0 accounts=0
INFO [08-19|19:00:21.674] Gasprice oracle is ignoring threshold set threshold=2
WARN [08-19|19:00:21.675] Engine API enabled                       protocol=eth
WARN [08-19|19:00:21.675] Engine API started but chain not configured for merge yet
INFO [08-19|19:00:21.675] Starting peer-to-peer node               instance=Geth/v1.10.21-stable/darwin-arm64/go1.18.4
INFO [08-19|19:00:21.779] New local node record                    seq=1,660,916,194,564 id=f9c2cad798255601 ip=127.0.0.1 udp=30303 tcp=30303
INFO [08-19|19:00:21.780] Started P2P networking                   self=enode://[email protected]:30303
INFO [08-19|19:00:21.782] IPC endpoint opened                      url=/Users/my-user/Library/Ethereum/geth.ipc
INFO [08-19|19:00:21.782] Loaded JWT secret file                   path=/Users/my-user/Library/Ethereum/geth/jwtsecret crc32=0x767e4b6c
INFO [08-19|19:00:21.787] WebSocket enabled                        url=ws://127.0.0.1:8551
INFO [08-19|19:00:21.787] HTTP server started                      endpoint=127.0.0.1:8551 auth=true prefix= cors=localhost vhosts=localhost
INFO [08-19|19:00:26.314] New local node record                    seq=1,660,916,194,565 id=f9c2cad798255601 ip=84.220.95.204 udp=30303 tcp=30303
INFO [08-19|19:00:31.915] Looking for peers                        peercount=0 tried=22 static=0
INFO [08-19|19:00:41.953] Looking for peers                        peercount=0 tried=36 static=0
INFO [08-19|19:00:48.212] Block synchronisation started
INFO [08-19|19:00:52.011] Looking for peers                        peercount=1 tried=26 static=0

Görli testnet[edit]

INFO [08-19|11:11:31.536] Starting pprof server                    addr=http://0.0.0.0:6060/debug/pprof
INFO [08-19|11:11:31.537] Starting Geth on Görli testnet... 
INFO [08-19|11:11:31.537] Enabling metrics collection 
INFO [08-19|11:11:31.540] Maximum peer count                       ETH=50 LES=0 total=50
INFO [08-19|11:11:31.541] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [08-19|11:11:31.546] Set global gas cap                       cap=50,000,000
INFO [08-19|11:11:31.548] Allocated trie memory caches             clean=154.00MiB dirty=256.00MiB
INFO [08-19|11:11:31.548] Allocated cache and file handles         database=/data/ethereum/geth/chaindata cache=512.00MiB handles=524,288
INFO [08-19|11:11:31.696] Opened ancient database                  database=/data/ethereum/geth/chaindata/ancient readonly=false
INFO [08-19|11:11:31.696] Writing custom genesis block 
INFO [08-19|11:11:31.701] Persisted trie from memory database      nodes=361 size=51.17KiB time=1.081848ms gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
INFO [08-19|11:11:31.703]  
INFO [08-19|11:11:31.703] ----------------------------------------------------------------------------------------------------------------------------------------- ---------------- 
INFO [08-19|11:11:31.703] Chain ID:  5 (goerli) 
INFO [08-19|11:11:31.703] Consensus: Beacon (proof-of-stake), merged from Clique (proof-of-authority) 
INFO [08-19|11:11:31.703]  
INFO [08-19|11:11:31.703] Pre-Merge hard forks: 
INFO [08-19|11:11:31.703]  - Homestead:                   0        (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/homestead.md) 
INFO [08-19|11:11:31.703]  - Tangerine Whistle (EIP 150): 0        (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/tangerine-whistle.md) 
INFO [08-19|11:11:31.703]  - Spurious Dragon/1 (EIP 155): 0        (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/spurious-dragon.md) 
INFO [08-19|11:11:31.703]  - Spurious Dragon/2 (EIP 158): 0        (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/spurious-dragon.md) 
INFO [08-19|11:11:31.703]  - Byzantium:                   0        (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet- upgrades/byzantium.md) 
INFO [08-19|11:11:31.703]  - Constantinople:              0        (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/constantinople.md) 
INFO [08-19|11:11:31.703]  - Petersburg:                  0        (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/petersburg.md) 
INFO [08-19|11:11:31.703]  - Istanbul:                    1561651  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/istanbul.md) 
INFO [08-19|11:11:31.703]  - Berlin:                      4460644  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/berlin.md) 
INFO [08-19|11:11:31.703]  - London:                      5062605  (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/london.md) 
INFO [08-19|11:11:31.703]  
INFO [08-19|11:11:31.703] Merge configured: 
INFO [08-19|11:11:31.703]  - Hard-fork specification:   https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/paris.md) 
INFO [08-19|11:11:31.703]  - Total terminal difficulty: 10790000 
INFO [08-19|11:11:31.703]  - Merge netsplit block:      <nil> 
INFO [08-19|11:11:31.703] --------------------------------------------------------------------------------------------------------------------------------------------------------- 
INFO [08-19|11:11:31.703]  
INFO [08-19|11:11:31.704] Initialising Ethereum protocol           network=5 dbversion=<nil>
INFO [08-19|11:11:31.704] Loaded most recent local header          number=0 hash=xx7e33..b88c1a td=1 age=3y7mo6d
INFO [08-19|11:11:31.704] Loaded most recent local full block      number=0 hash=xx7e33..b88c1a td=1 age=3y7mo6d
INFO [08-19|11:11:31.704] Loaded most recent local fast block      number=0 hash=x7e33..b88c1a td=1 age=3y7mo6d
WARN [08-19|11:11:31.704] Failed to load snapshot, regenerating    err="missing or corrupted snapshot"
INFO [08-19|11:11:31.704] Rebuilding state snapshot 
INFO [08-19|11:11:31.705] Regenerated local transaction journal    transactions=0 accounts=0
INFO [08-19|11:11:31.705] Resuming state snapshot generation       root=xxxxx..8b3008 accounts=0 slots=0 storage=0.00B dangling=0 elapsed="511.723µs"
INFO [08-19|11:11:31.705] Gasprice oracle is ignoring threshold set threshold=2
WARN [08-19|11:11:31.706] Error reading unclean shutdown markers   error="leveldb: not found"
WARN [08-19|11:11:31.706] Engine API enabled                       protocol=eth
INFO [08-19|11:11:31.706] Stored checkpoint snapshot to disk       number=0 hash=bf7e33..b88c1a
INFO [08-19|11:11:31.706] Starting peer-to-peer node               instance=Geth/v1.10.21-stable-67109427/linux-amd64/go1.18.4
INFO [08-19|11:11:31.709] Generated state snapshot                 accounts=260 slots=0 storage=9.69KiB dangling=0 elapsed=4.622ms
INFO [08-19|11:11:31.755] Mapped network port                      proto=tcp extport=30303 intport=30303 interface=ExtIP(10.244.2.101)
INFO [08-19|11:11:31.755] Mapped network port                      proto=udp extport=30303 intport=30303 interface=ExtIP(10.244.2.101)
INFO [08-19|11:11:31.758] New local node record                    seq=1,660,907,491,756 id=xxxxx510fca8dde ip=10.244.2.101 udp=30303 tcp=30303
INFO [08-19|11:11:31.758] Started P2P networking                   self=enode://ff64b853a0412e1XXXXXXe28ca40805c8cde9aafcdd4717495c1@10.244.2.101:30303
INFO [08-19|11:11:31.760] Loaded JWT secret file                   path=/secret/jwtsecret crc32=0xTea7083t
INFO [08-19|11:11:31.761] HTTP server started                      endpoint=[::]:8545 auth=false prefix= cors= vhosts=*

Related[edit]

See also[edit]

Advertising: