From ad23108ab39f3883c5988e0e5e3a1a5f4376a046 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Sat, 26 Oct 2024 14:35:13 +0200 Subject: [PATCH] fix(clustertool): remove unneeded verbosity from encryption stack --- clustertool/pkg/sops/encrypt.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clustertool/pkg/sops/encrypt.go b/clustertool/pkg/sops/encrypt.go index 36a723d01cf..daa9948cdcf 100644 --- a/clustertool/pkg/sops/encrypt.go +++ b/clustertool/pkg/sops/encrypt.go @@ -28,7 +28,7 @@ func EncryptAllFiles() error { } } - log.Info().Msg("Encryption pipeline placeholders added to all eligible files") + log.Info().Msg("All Files encrypted successfully") return nil } @@ -65,7 +65,7 @@ func processFileEncryption(file EncrFileData) error { return fmt.Errorf("error encrypting file %s: %v", file.Path, err) } - log.Info().Msgf("File %s encrypted successfully.\n", file.Path) + log.Debug().Msgf("File %s encrypted successfully.\n", file.Path) return nil } @@ -103,7 +103,7 @@ func encryptFile(filePath string) error { return fmt.Errorf("error writing encrypted data to file: %v", err) } - log.Info().Msgf("Successfully encrypted file: %s", filePath) + log.Debug().Msgf("Successfully encrypted file: %s", filePath) return nil }