知乎專欄 | 多維度架構 | | | 微信號 netkiller-ebook | | | QQ群:128659835 請註明“讀者” |
--verbosity 日誌輸出級別控制
geth --verbosity 0 console
日誌輸出到檔案中。
geth --networkid 123456 --rpc --rpcaddr="0.0.0.0" --rpccorsdomain "*" 2>> /tmp/geth.log
後台運行
neo@netkiller ~ % geth --networkid 123456 --rpc --rpcaddr="0.0.0.0" --rpccorsdomain "*" 2>> /tmp/geth.log & [1] 30075 neo@netkiller ~ % tail -f /tmp/geth.log INFO [02-02|21:18:59] Got interrupt, shutting down... INFO [02-02|21:18:59] HTTP endpoint closed: http://0.0.0.0:8545 INFO [02-02|21:18:59] IPC endpoint closed: /home/neo/.ethereum/geth.ipc INFO [02-02|21:18:59] Blockchain manager stopped INFO [02-02|21:18:59] Stopping Ethereum protocol INFO [02-02|21:18:59] Ethereum protocol stopped INFO [02-02|21:18:59] Transaction pool stopped INFO [02-02|21:18:59] Database closed database=/home/neo/.ethereum/geth/chaindata INFO [02-02|21:18:59] Mapped network port proto=tcp extport=30303 intport=30303 interface="UPNP IGDv1-IP1" WARN [02-02|21:19:00] Already shutting down, interrupt more to panic. times=9