Skip to content

Commit

Permalink
Merge pull request #393 from dzoeteman/patch-1
Browse files Browse the repository at this point in the history
Change loglevel for copying files to debug (#303)
  • Loading branch information
priyawadhwa authored Oct 12, 2018
2 parents aabb97b + 129eb9b commit 72e088f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/util/fs_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 72e088f

Please sign in to comment.