Merge pull request #20115 from holiman/minor_dashboard_fx

dashboard: log dashboard url
This commit is contained in:
Péter Szilágyi 2019-09-24 13:29:21 +03:00 committed by GitHub
commit aca39a6498
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,7 @@ func (db *Dashboard) APIs() []rpc.API { return nil }
// Start starts the data collection thread and the listening server of the dashboard.
// Implements the node.Service interface.
func (db *Dashboard) Start(server *p2p.Server) error {
log.Info("Starting dashboard")
log.Info("Starting dashboard", "url", fmt.Sprintf("http://%s:%d", db.config.Host, db.config.Port))
db.wg.Add(3)
go db.collectSystemData()