I’m running rsync with:
1.
rsync -a --exclude cache/ src_folder/ target_folder/
and
2.
rsync -a --exclude cache/ src_folder/ target_folder/ 1>output.log 2>error.log
In 1 except for permission errors, all other rsync output is printed. In 2 the permission errors show up as expected when I log them to a file.