From bf464055e0eb447af07cc51216387a2021d6c70f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 7 Feb 2023 15:22:52 +0100 Subject: [PATCH] Avoid double logging of job storage directory removal --- internal/manager/local_storage/local_storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/manager/local_storage/local_storage.go b/internal/manager/local_storage/local_storage.go index 18b2d96d..e972d2c0 100644 --- a/internal/manager/local_storage/local_storage.go +++ b/internal/manager/local_storage/local_storage.go @@ -41,7 +41,7 @@ func (si StorageInfo) ForJob(jobUUID string) string { func (si StorageInfo) RemoveJobStorage(ctx context.Context, jobUUID string) error { path := si.ForJob(jobUUID) - log.Info().Str("path", path).Msg("erasing manager-local job storage directory") + log.Debug().Str("path", path).Msg("erasing manager-local job storage directory") if err := removeDirectory(path); err != nil { return fmt.Errorf("unable to erase %q: %w", path, err)