From 99129abc0b116a9d2e9e28c7a4072850065752c2 Mon Sep 17 00:00:00 2001 From: Mike Cobbett <77053+techcobweb@users.noreply.github.com> Date: Thu, 4 Apr 2024 10:46:34 +0100 Subject: [PATCH] Remove some logging statements. We get lots of detail if things fail anyway Signed-off-by: Mike Cobbett <77053+techcobweb@users.noreply.github.com> --- pkg/images/imageExpander.go | 3 --- pkg/images/imageFileWriter.go | 3 --- 2 files changed, 6 deletions(-) diff --git a/pkg/images/imageExpander.go b/pkg/images/imageExpander.go index fab42e32..7b77fbf6 100644 --- a/pkg/images/imageExpander.go +++ b/pkg/images/imageExpander.go @@ -156,9 +156,6 @@ func (expander *ImageExpanderImpl) calculateTargetImagePaths(gzFilePath string) // Roll together all the parts of the files to get the folder and the file desiredImageFolderPath = strings.Join(filePathParts[:len(filePathParts)-1], separator) - - log.Printf("Expanding gzFile %s to folder %s\n", gzFilePath, desiredImageFolderPath) - } } return desiredImageFolderPath, err diff --git a/pkg/images/imageFileWriter.go b/pkg/images/imageFileWriter.go index 5458f280..1d67d294 100644 --- a/pkg/images/imageFileWriter.go +++ b/pkg/images/imageFileWriter.go @@ -6,8 +6,6 @@ package images import ( - "log" - "github.com/galasa-dev/cli/pkg/files" ) @@ -76,7 +74,6 @@ func (writer *ImageFileWriterImpl) WriteImageFile(simpleFileName string, imageBy err = writer.fs.WriteBinaryFile(fullyQualifiedTargetImageFilePath, imageBytes) if err == nil { writer.imageFilesWrittenCount = writer.imageFilesWrittenCount + 1 - log.Printf("Image file has been created: %s\n", fullyQualifiedTargetImageFilePath) } } }