Skip to content

Commit

Permalink
chore: enhance logging
Browse files Browse the repository at this point in the history
Signed-off-by: Chin-Ya Huang <[email protected]>
  • Loading branch information
c3y1huang committed Oct 24, 2024
1 parent 5c1bf89 commit 4a76f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/volume_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.WithField("failedUsableReplicas", len(failedUsableReplicas)).Info("Bringing up replicas for auto-salvage")

// This salvage is for revision counter enabled case
salvaged := false
Expand Down

0 comments on commit 4a76f0f

Please sign in to comment.