add debug logs for bgp

This commit is contained in:
Mayuresh Gaitonde
2018-11-21 10:37:11 -08:00
parent 6a184933d1
commit 2a3593aade

View File

@@ -6,6 +6,7 @@ import (
c "github.com/mayuresh82/gocast/config"
"github.com/mayuresh82/gocast/controller"
"github.com/mayuresh82/gocast/server"
log "github.com/sirupsen/logrus"
"os"
"os/signal"
"syscall"
@@ -16,6 +17,9 @@ var (
)
func main() {
if glog.V(4) {
log.SetLevel(log.DebugLevel)
}
flag.Parse()
conf := c.GetConfig(*config)
mon := controller.NewMonitor(conf)