浏览代码

Merge pull request #969 from gravitl/bugfix_v0.12.2_too_many_logs

removed annoying log
dcarns 3 年之前
父节点
当前提交
f3599ba57f
共有 2 个文件被更改,包括 0 次插入2 次删除
  1. 0 1
      main.go
  2. 0 1
      serverctl/iptables.go

+ 0 - 1
main.go

@@ -111,7 +111,6 @@ func initialize() { // Client Mode Prereq Check
 	if servercfg.ManageIPTables() != "off" {
 		if err = serverctl.InitIPTables(); err != nil {
 			logger.FatalLog("Unable to initialize iptables on host:", err.Error())
-
 		}
 	}
 

+ 0 - 1
serverctl/iptables.go

@@ -84,7 +84,6 @@ func setForwardPolicy() error {
 
 // port forward from an entry, can contain a dns name for lookup
 func iptablesPortForward(entry string, inport string, outport string, isIP bool) error {
-	logger.Log(2, "forwarding "+entry+" traffic from host port "+inport+" to container port "+outport)
 
 	var address string
 	if !isIP {