kube-aggregator: bump openapi aggregation log level

pull/564/head
Haowei Cai 2019-03-27 10:20:10 -07:00
parent a9f35a67c8
commit c3f272f024
1 changed files with 7 additions and 1 deletions

View File

@ -99,7 +99,13 @@ func (c *AggregationController) processNextWorkItem() bool {
return false
}
if aggregator.IsLocalAPIService(key.(string)) {
// for local delegation targets that are aggregated once per second, log at
// higher level to avoid flooding the log
klog.V(5).Infof("OpenAPI AggregationController: Processing item %s", key)
} else {
klog.Infof("OpenAPI AggregationController: Processing item %s", key)
}
action, err := c.syncHandler(key.(string))
if err == nil {