From b3a68558eecd794d7d27af50e0afbc6736939c9e Mon Sep 17 00:00:00 2001
From: "John W. Linville" <linville@tuxdriver.com>
Date: Fri, 6 Mar 2015 14:49:20 -0500
Subject: [PATCH] Clarify the logging when VXLAN interface creation fails
---
backend/vxlan/vxlan.go | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/backend/vxlan/vxlan.go b/backend/vxlan/vxlan.go
index fb0c91f201fa..a6fa77905440 100644
--- a/backend/vxlan/vxlan.go
+++ b/backend/vxlan/vxlan.go
@@ -79,7 +79,8 @@ func (vb *VXLANBackend) Init(extIface *net.Interface, extIP net.IP) (*backend.Su
if err == nil {
break
} else {
- log.Warning("Failed to create VXLAN interface, retrying...")
+ log.Error("VXLAN init: ", err)
+ log.Info("Retrying in 1 second...")
// wait 1 sec before retrying
time.Sleep(1*time.Second)
--
2.1.0