Nextcloud commnad line client sync log options - linux

Is there away to capture command line client sync to a log file? The log seems to only go to stdout.
I have tried redirectigh the output with '>" and and executiong remotely. Neithor had any effect.