Add loglevels to invocation example

This commit is contained in:
Roman Zeyde 2018-06-17 10:38:41 +03:00
parent f786c62dc5
commit 29c816a32c
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB

View File

@ -37,16 +37,16 @@ $ bitcoind -server=1 -daemon=0 -txindex=0 -prune=0
# First build should take ~20 minutes
$ cargo build --release
$ cargo run --release -- -v -l debug.log
Config { log_file: "debug.log", log_level: Debug, network_type: Mainnet, db_path: "./db/mainnet", rpc_addr: V4(127.0.0.1:50001), monitoring_addr: V4(127.0.0.1:42024) }
BlockchainInfo { chain: "main", blocks: 527673, headers: 527677, bestblockhash: "0000000000000000001134b741f53f4e49e9f8073e41af6d8aaad3b849ebeee4", size_on_disk: 196048138442, pruned: false }
opening ./db/mainnet with StoreOptions { bulk_import: true }
applying 0 new headers from height 0
best=0000000000000000001134b741f53f4e49e9f8073e41af6d8aaad3b849ebeee4 height=527673 @ 2018-06-16T04:03:53Z (527674 left to index)
[INFO] Config { log_file: "debug.log", log_level: Debug, network_type: Mainnet, db_path: "./db/mainnet", rpc_addr: V4(127.0.0.1:50001), monitoring_addr: V4(127.0.0.1:42024) }
[DEBUG] BlockchainInfo { chain: "main", blocks: 527673, headers: 527677, bestblockhash: "0000000000000000001134b741f53f4e49e9f8073e41af6d8aaad3b849ebeee4", size_on_disk: 196048138442, pruned: false }
[DEBUG] opening ./db/mainnet with StoreOptions { bulk_import: true }
[DEBUG] applying 0 new headers from height 0
[INFO] best=0000000000000000001134b741f53f4e49e9f8073e41af6d8aaad3b849ebeee4 height=527673 @ 2018-06-16T04:03:53Z (527674 left to index)
# <initial indexing takes a few hours>
applying 527674 new headers from height 0
closing ./db/mainnet
opening ./db/mainnet with StoreOptions { bulk_import: false }
RPC server running on 127.0.0.1:50001
[DEBUG] applying 527674 new headers from height 0
[DEBUG] closing ./db/mainnet
[DEBUG] opening ./db/mainnet with StoreOptions { bulk_import: false }
[INFO] RPC server running on 127.0.0.1:50001
# The index database is stored here:
$ du db/