--log-format "" is broken in 1.70.0+

What is the problem you are having with rclone?

I always use the switch --log-format "" or set the environment variable like set rclone_log_format="" to remove the default date,time from the log output.

Ever since v1.70.0 this is not an option anymore. rclone aborts with the following error message:

CRITICAL: Failed to load "log" default values: failed to initialise "log" options: couldn't parse config item "log_format" = "\"\"" as fs.Bits[github.com/rclone/rclone/fs/log.logFormatChoices]: parsing "\"\"" as fs.Bits[github.com/rclone/rclone/fs/log.logFormatChoices] failed: invalid choice "\"\"" from: date, time, microseconds, UTC, longfile, shortfile, pid, nolevel, json

Run the command 'rclone version' and share the full output of the command.

rclone v1.70.3
- os/version: Microsoft Windows 10 Education 22H2 (64 bit)
- os/kernel: 10.0.19045.6093 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.24.4
- go/linking: static
- go/tags: cmount

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone sync [src] [dst]

A log from the command with the -vv flag

DEBUG : Setting  log_file="D:\\Backups\\RClone\\Logs\\Sync.log" from environment variable RCLONE_LOG_FILE
DEBUG : Setting  log_format="\"\"" from environment variable RCLONE_LOG_FORMAT
CRITICAL: Failed to load "log" default values: failed to initialise "log" options: couldn't parse config item "log_format" = "\"\"" as fs.Bits[github.com/rclone/rclone/fs/log.logFormatChoices]: parsing "\"\"" as fs.Bits[github.com/rclone/rclone/fs/log.logFormatChoices] failed: invalid choice "\"\"" from: date, time, microseconds, UTC, longfile, shortfile, pid, nolevel, json