I have my config password enabled and everytime I use the rclone with the option --log-file, a log file is created but it contains only the password prompt line. (shouldn’t be there) No log is actually recorded in it.
(this has been tested with the “sync --dry-run --log-file” command, as well as “copy” and it happens for all the remotes I have: Box, pCloud and hubiC)
Thanks for your quick reply. However there are some inconsistencies:
Even without a -v option, I get quite a lot of info in the stdout that I should find in the log file, but I won’t. (the -v option doesn’t produce any log file too)
Even for commands when an output is excpected (e.g. rclone config show), when I use --log-file, I get no output in the log file
rclone hangs if the option --log-file is used (probably tryint to write the file) and I have to stop it with a Ctrl-C
I am running rclone sync -v --dry-run --log-file log.txt src:path dst:path
Thank you, this actually works OK.
That is the case (it never prompts me for a password on stdout when I use the sync command with --log-file) So, if I understand correctly, by fixing the password prompt bug, the log should automatically be recorded.