From 129eb9b8a8938eecc81eb440e458b5c2f8668d76 Mon Sep 17 00:00:00 2001 From: Deniz Zoeteman Date: Fri, 12 Oct 2018 16:16:48 +0200 Subject: [PATCH] Change loglevel for copying files to debug (#303) --- pkg/util/fs_util.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/util/fs_util.go b/pkg/util/fs_util.go index 07e3fbc59..f755b335a 100644 --- a/pkg/util/fs_util.go +++ b/pkg/util/fs_util.go @@ -468,7 +468,7 @@ func CopyDir(src, dest string) ([]string, error) { } destPath := filepath.Join(dest, file) if fi.IsDir() { - logrus.Infof("Creating directory %s", destPath) + logrus.Debugf("Creating directory %s", destPath) uid := int(fi.Sys().(*syscall.Stat_t).Uid) gid := int(fi.Sys().(*syscall.Stat_t).Gid) @@ -511,7 +511,7 @@ func CopyFile(src, dest string) error { if err != nil { return err } - logrus.Infof("Copying file %s to %s", src, dest) + logrus.Debugf("Copying file %s to %s", src, dest) srcFile, err := os.Open(src) if err != nil { return err