mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 07:18:36 +00:00
Move log level from info to debug (#145)
* Move log level from info to debug * Info -> Debug on reroute message
This commit is contained in:
@@ -99,7 +99,7 @@ func (ctrl *ServiceController) terminatorChanged(params ...interface{}) {
|
||||
}
|
||||
serviceId = t.Service
|
||||
}
|
||||
pfxlog.Logger().Infof("clearing service from cache: %v", serviceId)
|
||||
pfxlog.Logger().Debugf("clearing service from cache: %v", serviceId)
|
||||
ctrl.RemoveFromCache(serviceId)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ func (network *Network) smart() {
|
||||
count++
|
||||
candidates = append(candidates, session)
|
||||
newCircuits[session] = updatedCircuit
|
||||
log.Infof("rerouting [s/%s] [l:%d] %s ==> %s", session.Id.Token, sessionLatencies[session.Id], session.Circuit.String(), updatedCircuit.String())
|
||||
log.Debugf("rerouting [s/%s] [l:%d] %s ==> %s", session.Id.Token, sessionLatencies[session.Id], session.Circuit.String(), updatedCircuit.String())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user