Added more information to log

This commit is contained in:
Diptanu Choudhury
2015-10-28 14:41:13 -07:00
parent ae8b07e85a
commit 345ccb112a

View File

@@ -54,7 +54,7 @@ func (f *NetworkFingerprint) Fingerprint(cfg *config.Config, node *structs.Node)
newNetwork.IP = ip
newNetwork.CIDR = newNetwork.IP + "/32"
f.logger.Println("[DEBUG] Detected interface ", intf.Name, " with IP ", ip, " during fingerprinting")
f.logger.Println("[DEBUG] fingerprint.network Detected interface ", intf.Name, " with IP ", ip, " during fingerprinting")
if throughput := f.linkSpeed(intf.Name); throughput > 0 {
newNetwork.MBits = throughput