"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
Start the logger earlier so all messages go there - fixes #486
Nick Craig-Wood9bbcdeefd04f
diff --git a/rclone.go b/rclone.goindex ed12585c9..5d1c8d226 100644--- a/rclone.go+++ b/rclone.go@@ -320,7 +320,6 @@ func ParseFlags() {pflag.Usage = syntaxErrorpflag.Parse()runtime.GOMAXPROCS(runtime.NumCPU())- fs.LoadConfig()}// ParseCommand parses the command from the command line@@ -414,7 +413,12 @@ func main() {log.SetOutput(f)redirectStderr(f)}- fs.Debug("rclone", "Starting with parameters %+v", os.Args)++ // Load the rest of the config now we have started the logger+ fs.LoadConfig()++ // Write the args for debug purposes+ fs.Debug("rclone", "Starting with parameters %q", os.Args)// Setup CPU profiling if desiredif *cpuProfile != "" {