dashboard: log host+port

This commit is contained in:
Martin Holst Swende 2019-09-24 10:08:46 +02:00
parent 311419c7d6
commit be500b57d2
No known key found for this signature in database
GPG Key ID: 683B438C05A5DDF0

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. // Start starts the data collection thread and the listening server of the dashboard.
// Implements the node.Service interface. // Implements the node.Service interface.
func (db *Dashboard) Start(server *p2p.Server) error { 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) db.wg.Add(3)
go db.collectSystemData() go db.collectSystemData()