Generate logs in comma delimited format

#### What is the problem you are having with rclone?
The log generated by rclone appears to be space delimited. Is there an option to generate the events as comma delimited.

#### What is your rclone version (output from rclone version)
rclone v1.53.1

#### Which OS you are using and how many bits (eg Windows 7, 64 bit)
Microsoft Windows 10 Professional version 1909 Build 18636.1110

Which cloud storage system are you using? (eg Google Drive)

Microsoft OneDrive

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

rclone.exe check --stats 10s --progress --log-file=rclone_log.txt --log-level DEBUG /path/to/files/on/local/hard/drive remote:/path

not sure, but have you looked at these flags.

https://rclone.org/docs/#log-format-list
https://rclone.org/docs/#use-json-log

Thanks for the speedy reply @asdffdsa.

I did however the options microseconds, longfile, shortfile, UTC are unclear. My understanding is that the default is date,time. If yes, this outputs the file as space delimited. It would be great if @ncw could chime in or anyone else that may had a similar requirement.

Best thing is just testing it out and see what it does as it's just writing a log file.

felix@guardian:~$ rclone lsd GD: -vv --log-file blah --use-json-log
          -1 2019-09-29 21:57:58        -1 crypt
          -1 2020-06-27 07:13:48        -1 test
felix@guardian:~$ cat blah
{"level":"debug","msg":"Version \"v1.52.3\" starting with parameters [\"rclone\" \"lsd\" \"GD:\" \"-vv\" \"--log-file\" \"blah\" \"--use-json-log\"]","object":"rclone","objectType":"string","source":"cmd/cmd.go:376","time":"2020-10-16T22:47:25.753037-04:00"}
{"level":"debug","msg":"Using config file from \"/opt/rclone/rclone.conf\"","source":"config/config.go:225","time":"2020-10-16T22:47:25.753572-04:00"}
{"level":"debug","msg":"4 go routines active\n","source":"cmd/cmd.go:285","time":"2020-10-16T22:47:25.987005-04:00"}
felix@guardian:~$

For a log you can parse, you'd want to use the json option.

Some examples of messing with the log format:

felix@guardian:~$ rclone lsd GD: -vv --log-file blah --log-format date,time,UTC
          -1 2019-09-29 21:57:58        -1 crypt
          -1 2020-06-27 07:13:48        -1 test
felix@guardian:~$ cat blah
2020/10/17 02:48:20 DEBUG : rclone: Version "v1.52.3" starting with parameters ["rclone" "lsd" "GD:" "-vv" "--log-file" "blah" "--log-format" "date,time,UTC"]
2020/10/17 02:48:20 DEBUG : Using config file from "/opt/rclone/rclone.conf"
2020/10/17 02:48:20 DEBUG : 4 go routines active
felix@guardian:~$ >blah
felix@guardian:~$ rclone lsd GD: -vv --log-file blah --log-format microseconds,longfile
          -1 2019-09-29 21:57:58        -1 crypt
          -1 2020-06-27 07:13:48        -1 test
felix@guardian:~$ cat blah
22:48:46.817025 github.com/rclone/rclone/cmd/cmd.go:376: DEBUG : rclone: Version "v1.52.3" starting with parameters ["rclone" "lsd" "GD:" "-vv" "--log-file" "blah" "--log-format" "microseconds,longfile"]
22:48:46.817483 github.com/rclone/rclone/fs/config/config.go:225: DEBUG : Using config file from "/opt/rclone/rclone.conf"
22:48:47.050455 github.com/rclone/rclone/cmd/cmd.go:285: DEBUG : 4 go routines active
felix@guardian:~$