From c31defbbd3f7205954439efaadc2bb4501331b95 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 31 Aug 2020 14:51:06 +0100 Subject: [PATCH] fs: add debug to show when a backend is being created See: https://forum.rclone.org/t/rclone-rc-backend-command-not-working-as-expected/18834/ --- fs/fs.go | 1 + 1 file changed, 1 insertion(+) 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