Skip to content

Commit

Permalink
set logging level for debuggig logs
Browse files Browse the repository at this point in the history
  • Loading branch information
yb01 committed Sep 17, 2021
1 parent 2da4f80 commit c36336e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/kubelet/secret/secret_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ func (s *byHostSecretManager) key(tenant, namespace, name string) string {

func (s *byHostSecretManager) GetSecret(tenant, namespace, name string) (*v1.Secret, error) {
key := s.key(tenant, namespace, name)
klog.Infof("get secret: %s", key)
klog.V(2).Infof("get secret: %s", key)
for _, store := range s.stores {
klog.Infof("debug: dump store keys: [%v]", store.ListKeys())
klog.V(6).Infof("store keys: [%v]", store.ListKeys())
object, _, err := store.GetByKey(key)
if err != nil {
return nil, err
Expand Down

0 comments on commit c36336e

Please sign in to comment.