Find all files with the extension ".log" in the current directory and its subdirectories up to 3 levels deep, and execute the command "grep -l "Error" on each of them.
find ~ -maxdepth 3 -type f -name "*.log" -exec grep -l "Error" {} \;