summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2020-09-04 09:48:30 +0200
committerOndrej Fabry <ofabry@cisco.com>2020-09-04 10:49:17 +0000
commit760f6c2329f9c0247b265d1a69c02a2feebfafd5 (patch)
tree3ceeb6d898ef251fc2151379b24c3d32a5047aa6
parent1a1f4043dfae2e77de70d6adfbb8d84cdeed658d (diff)
Update VPP config warnings and change log level in proxy
Change-Id: I8f965a0758c4b7459f27a46c095dad232e331032 Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
-rw-r--r--adapter/socketclient/socketclient.go2
-rw-r--r--adapter/statsclient/statsclient.go2
-rw-r--r--proxy/server.go4
3 files changed, 4 insertions, 4 deletions
diff --git a/adapter/socketclient/socketclient.go b/adapter/socketclient/socketclient.go
index 637bd69..4ee319b 100644
--- a/adapter/socketclient/socketclient.go
+++ b/adapter/socketclient/socketclient.go
@@ -83,7 +83,7 @@ const socketMissing = `
To enable it add following section to your VPP config:
socksvr {
- default
+ socket-name /run/vpp/api.sock
}
------------------------------------------------------------
`
diff --git a/adapter/statsclient/statsclient.go b/adapter/statsclient/statsclient.go
index f3be4e0..9c1c334 100644
--- a/adapter/statsclient/statsclient.go
+++ b/adapter/statsclient/statsclient.go
@@ -43,7 +43,7 @@ const socketMissing = `
To enable it add following section to your VPP config:
statseg {
- default
+ socket-name /run/vpp/stats.sock
}
------------------------------------------------------------
`
diff --git a/proxy/server.go b/proxy/server.go
index c2c4fe3..50a0077 100644
--- a/proxy/server.go
+++ b/proxy/server.go
@@ -84,7 +84,7 @@ func NewStatsRPC(stats adapter.StatsAPI) (*StatsRPC, error) {
func (s *StatsRPC) watchConnection() {
heartbeatTicker := time.NewTicker(10 * time.Second).C
atomic.StoreUint32(&s.available, 1)
- log.Println("enabling statsRPC service")
+ log.Debugln("enabling statsRPC service")
count := 0
prev := new(api.SystemStats)
@@ -263,7 +263,7 @@ func (s *BinapiRPC) watchConnection() {
case core.Connected:
if !s.serviceAvailable() {
atomic.StoreUint32(&s.available, 1)
- log.Println("enabling binapiRPC service")
+ log.Debugln("enabling binapiRPC service")
}
case core.Disconnected:
if s.serviceAvailable() {