From f8ffd7e2dc74a47416523465d666bc26793dc52f Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Thu, 24 Oct 2024 17:30:25 +0800 Subject: [PATCH] chore: enhance logging Signed-off-by: Chin-Ya Huang --- controller/volume_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/volume_controller.go b/controller/volume_controller.go index c25e2674ae..5e32ae1d31 100644 --- a/controller/volume_controller.go +++ b/controller/volume_controller.go @@ -1388,7 +1388,7 @@ func (c *VolumeController) ReconcileVolumeState(v *longhorn.Volume, es map[strin if !dataExists { log.Warn("Failed to auto salvage volume: no data exists") } else { - log.Info("Bringing up replicas for auto-salvage") + log.Infof("Bringing up %v replicas for auto-salvage", len(failedUsableReplicas)) // This salvage is for revision counter enabled case salvaged := false