filecoin-saturn / L2-node

Saturn L2 Node implementation in Golang
MIT License
35 stars 9 forks source link

feat: improve logging for Station #62

Closed bajtos closed 2 years ago

bajtos commented 2 years ago

Rework internal logs to use Zap.

Add two new log messages for the case when the node connects or disconnects from the network.

Add a new log to report the API server where the Station can find /stats endpoint.

WebUI: http://localhost:52860/webui
API: http://localhost:52746/
INFO: Saturn Node is online and connected to 1 peer(s)
INFO: Saturn Node is online and connected to 2 peer(s)
INFO: Saturn Node is online and connected to 1 peer(s)
ERROR: Saturn Node lost connection to the network

See https://github.com/filecoin-project/filecoin-station/issues/81