Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

fs: add debug to show when a backend is being created

Nick Craig-Woodc31defbbd3f7
diff --git a/fs/fs.go b/fs/fs.go
index c564ec809..53bbdb8a6 100644
--- a/fs/fs.go
+++ b/fs/fs.go
@@ -1330,6 +1330,7 @@ func ConfigFs(path string) (fsInfo *RegInfo, configName, fsPath string, config *
// On Windows avoid single character remote names as they can be mixed
// up with drive letters.
func NewFs(path string) (Fs, error) {
+ Debugf(nil, "Creating backend with remote %q", path)
fsInfo, configName, fsPath, config, err := ConfigFs(path)
if err != nil {
return nil, err