Logging for the CSI Driver and Provisioner

Describes the event logs for the CSI driver and provisioner for both FUSE and Loopback NFS plugins.

Logs for the Container Storage Interface (CSI) Storage Plugin can be found in /var/log/csi-maprkdf/. The following table shows the new log-file format. Before the FUSE 1.2.2 and Loopback NFS 1.0.2 drivers were introduced, the log files included a version in the file name.

Log File Type FUSE or Loopback NFS Log File Description Which Nodes
Driver events log FUSE csi-plugin.log Captures CSI Driver events such as registering the driver and CSI Driver logs for node mount and unmount operations. All Kubernetes nodes.
Loopback NFS csi-nfsplugin.log
Provisioner events log FUSE csi-provisioner.log Captures provisioner events such as registering the CSI provisioner and CSI Controller events such as Create/Delete volumes, Create/Delete Snapshots etc. The Kubernetes node where the provisioner StatefulSet pod is running.
Loopback NFS csi-nfsprovisioner.log
NOTE
The directory must grant rw permissions for creating the logs and must grant write/append permissions to the plug-in and provisioner.