Find all files with the extension ".log" in the current directory and its subdirectories, and replace all occurrences of "source" with "dest" in those files.
find ./ -name "*.log" | xargs sed -i 's/source/dest/g'