In version 1.56.0, a change was made so that "--dump should imply -vv" (#5247). Before this change, adding the global flag "--dump filters" to a command would ALWAYS dump the filters regardless of what log level was set. With this change, there is no longer a way to "--dump filters" without getting tons of extra debug information. Is there any way to either exclude "--dump filters" from this change or change the implementation to instead of globally changing the log level to instead treat all the DumpFlags like "filters" and always dump them regardless of the log level since they were explicitly asked for in the command line arguments.
The rational is that you might have a command that includes something like --min-age 2d --max-age 3d and using "--dump filters" allows you to see what the exact date/time that rclone is using to filter on but you don't need to log the ton of debug details that -vv spits out.
What is your rclone version (output from rclone version)
rclone v1.56.2
os/version: ubuntu 16.04 (64 bit)
os/kernel: 4.4.0-210-generic (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.16.8
go/linking: static
go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Drive (via crypt)
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone copy --min-age 2d --max-age 3d --dump filters /local/directory/path/ gcrypt:destdir/
I agree that this is a "workaround" but way less convenient then the way rclone worked before issue #5247 was resolved.
If you look at issue #5247, the reporter was perfectly fine with with just updating the documentation to reflect the necessity of manually increasing the log level to get their particular "--dump flag" to appear in the output log. Instead, a code change was made that I believe is a less flexible implementation than the original code and actually removes functionality from rclone.
I think there are many use cases to "--dump filters" without the need for debug level logging being forced. To me, it is just good practice if you have several filters set to always "--dump filters" with your "normal" output just to make your logging more complete and meaningful from a historical perspective (versus debugging perspective). I think the changes made to resolve #5247 should be rolled back and either just update the documentation for the "--debug flags" that require a higher debug level to be set OR come up with a better implementation such as always outputting/logging items that are directly specified via "--dump flag" regardless of the overall log level set.