"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
log: fix backtrace not going to the --log-file #9014
Nick Craig-Wood4851f1796c10
diff --git a/fs/log/log.go b/fs/log/log.goindex dd6f5d274..71c6f08a3 100644--- a/fs/log/log.go+++ b/fs/log/log.go@@ -209,7 +209,7 @@ func InitLogging() {// Log file outputif Opt.File != "" {var w io.Writer- if Opt.MaxSize == 0 {+ if Opt.MaxSize < 0 {// No log rotation - just open the file as normal// We'll capture tracebacks like this too.f, err := os.OpenFile(Opt.File, os.O_WRONLY|os.O_CREATE|os.O_APPEND, 0640)