From 51998a5f4afe85f29a35792f79c75acebf18d8ff Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Mon, 8 Nov 2021 15:28:04 +0530 Subject: [PATCH] cleanup: log the image name and pool name instead of logging the volumeID and the pool name. log the poolname and image name for better debugging. Signed-off-by: Madhu Rajanna --- internal/rbd/nodeserver.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/rbd/nodeserver.go b/internal/rbd/nodeserver.go index 4a5593cf8..a35a28966 100644 --- a/internal/rbd/nodeserver.go +++ b/internal/rbd/nodeserver.go @@ -394,8 +394,8 @@ func (ns *NodeServer) stageTransaction( } transaction.devicePath = devicePath - log.DebugLog(ctx, "rbd image: %s/%s was successfully mapped at %s\n", - req.GetVolumeId(), volOptions.Pool, devicePath) + log.DebugLog(ctx, "rbd image: %s was successfully mapped at %s\n", + volOptions, devicePath) // userspace mounters like nbd need the device path as a reference while // restarting the userspace processes on a nodeplugin restart. For kernel