"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
fs/operations: make log messages consistent for mkdir/rmdir at INFO level
Nick Craig-Wood5f70918e2c86
diff --git a/cmd/bisync/testdata/test_createemptysrcdirs/golden/test.log b/cmd/bisync/testdata/test_createemptysrcdirs/golden/test.logindex 096c5f0c5..83806af92 100644--- a/cmd/bisync/testdata/test_createemptysrcdirs/golden/test.log+++ b/cmd/bisync/testdata/test_createemptysrcdirs/golden/test.log@@ -80,6 +80,7 @@ INFO : Path2 checking for diffsINFO : Applying changesINFO : - [36mPath1[0m [35m[32mQueue copy to[0m Path2[0m - [36m{path2/}subdir[0mINFO : - [36mPath1[0m [35mDo queued copies to[0m - [36mPath2[0m+INFO : subdir: Making directoryINFO : Updating listingsINFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"INFO : [32mBisync successful[0mdiff --git a/fs/operations/operations.go b/fs/operations/operations.goindex eeba711fb..279c24076 100644--- a/fs/operations/operations.go+++ b/fs/operations/operations.go@@ -1050,7 +1050,7 @@ func Mkdir(ctx context.Context, f fs.Fs, dir string) error {if SkipDestructive(ctx, fs.LogDirName(f, dir), "make directory") {return nil}- fs.Debugf(fs.LogDirName(f, dir), "Making directory")+ fs.Infof(fs.LogDirName(f, dir), "Making directory")err := f.Mkdir(ctx, dir)if err != nil {err = fs.CountError(ctx, err)