Getting a list of filenames of moved files

I'm moving a list of files of some extension and I wish to output the moved filenames into a text file, I tried using the command below, but after all the files are moved, I got a blank file.

find /abc/temp -type f -mtime +365 \( -name "*.bak" -o -name "*.log" \) -exec mv -f {} /junk \; >> moved-files-listing.txt

Am I missing something here?

echo "mv $(find /abc/temp -type f -mtime +365 \( -name "*.bak" -o -name "*.log" \)) | tee -a moved-files-listing.txt) /junk" | sh

Actually for my command, if there's an error in the moving, I'll see something in the text files?

with this command i think the errors like permission denied will also be logged in the file and those will also be taken as the files to be moved.