"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
accounting: fix debug printing when debug wasn't set
Nick Craig-Wood500698c5be53
diff --git a/fs/accounting/stats_groups.go b/fs/accounting/stats_groups.goindex 952b17596..5f8e44d17 100644--- a/fs/accounting/stats_groups.go+++ b/fs/accounting/stats_groups.go@@ -322,7 +322,7 @@ func (sg *statsGroups) set(ctx context.Context, group string, stats *StatsInfo)// Limit number of groups kept in memory.if len(sg.order) >= ci.MaxStatsGroups {group := sg.order[0]- fs.LogPrintf(fs.LogLevelDebug, nil, "Max number of stats groups reached removing %s", group)+ fs.Debugf(nil, "Max number of stats groups reached removing %s", group)delete(sg.m, group)r := (len(sg.order) - ci.MaxStatsGroups) + 1sg.order = sg.order[r:]