Find all files in the current directory and its subdirectories with the extension ".log" and give all users read, write, and execute permissions for those files.
find ~/* -name '*.log' -exec chmod a+rwx '{}' \;