aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/websockets.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/utils/websockets.go')
-rw-r--r--cmd/utils/websockets.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/utils/websockets.go b/cmd/utils/websockets.go
index 29f9b8aeb..e4bc1b185 100644
--- a/cmd/utils/websockets.go
+++ b/cmd/utils/websockets.go
@@ -3,10 +3,13 @@ package utils
import (
"github.com/ethereum/go-ethereum/eth"
"github.com/ethereum/go-ethereum/ethutil"
+ "github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/websocket"
"github.com/ethereum/go-ethereum/xeth"
)
+var wslogger = logger.NewLogger("WS")
+
func args(v ...interface{}) []interface{} {
return v
}
@@ -106,6 +109,8 @@ func (self *WebSocketServer) Serv() {
}
func StartWebSockets(eth *eth.Ethereum) {
+ wslogger.Infoln("Starting WebSockets")
+
sock := NewWebSocketServer(eth)
go sock.Serv()
}