Skip to content

Commit

Permalink
Merge pull request kubernetes#9274 from lavalamp/logSpam
Browse files Browse the repository at this point in the history
Demote log spam
  • Loading branch information
bprashanth committed Jun 4, 2015
2 parents b428691 + 32caedd commit 04209c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/pkg/scheduler/algorithm/priorities/priorities.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func calculateOccupancy(pod *api.Pod, node api.Node, pods []*api.Pod) algorithm.

cpuScore := calculateScore(totalMilliCPU, capacityMilliCPU, node.Name)
memoryScore := calculateScore(totalMemory, capacityMemory, node.Name)
glog.V(4).Infof(
glog.V(10).Infof(
"%v -> %v: Least Requested Priority, Absolute/Requested: (%d, %d) / (%d, %d) Score: (%d, %d)",
pod.Name, node.Name,
totalMilliCPU, totalMemory,
Expand Down Expand Up @@ -190,7 +190,7 @@ func calculateBalancedResourceAllocation(pod *api.Pod, node api.Node, pods []*ap
diff := math.Abs(cpuFraction - memoryFraction)
score = int(10 - diff*10)
}
glog.V(4).Infof(
glog.V(10).Infof(
"%v -> %v: Balanced Resource Allocation, Absolute/Requested: (%d, %d) / (%d, %d) Score: (%d)",
pod.Name, node.Name,
totalMilliCPU, totalMemory,
Expand Down

0 comments on commit 04209c4

Please sign in to comment.