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:
Paul Lorenz
2020-12-11 16:29:38 -05:00
committed by GitHub
parent ebf1ca2377
commit ea6909717a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)
}
}
+1 -1
View File
@@ -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())
}
}
}