Skip to content

Commit 127f8d7

Browse files
committed
hide useful debug-level information behind log-level
Signed-off-by: Niclas Schad <niclas.schad@stackit.cloud>
1 parent 7a7d6bd commit 127f8d7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/csi/blockstorage/nodeserver.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,8 @@ func (ns *nodeServer) NodeGetInfo(ctx context.Context, _ *csi.NodeGetInfoRequest
317317
}
318318

319319
maxVolumesPerNode -= emptyPCIeRootPorts
320-
klog.Infof("Determined %d PCIe ports occupied by non virtio block devices", emptyPCIeRootPorts)
321-
klog.Infof("Determined node to support %d volumes", maxVolumesPerNode)
320+
klog.V(4).Infof("Determined %d PCIe ports occupied by non virtio block devices", emptyPCIeRootPorts)
321+
klog.V(4).Infof("Determined node to support %d volumes", maxVolumesPerNode)
322322

323323
nodeInfo := &csi.NodeGetInfoResponse{
324324
NodeId: nodeID,

pkg/csi/util/mount/mount.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func CountNonVirtioBlockDevices() (int64, error) {
178178
}
179179
}
180180
} else {
181-
klog.Infof("skipping class %s: path: %s", class, devPath)
181+
klog.V(4).Infof("skipping class %s: path: %s", class, devPath)
182182
}
183183
}
184184

0 commit comments

Comments
 (0)