Find all files with a name ending in ".log" and execute a search for the string "ERROR" in each file, displaying the file name and line number of each match.
find . -name "*.log*" -exec grep -Hn "ERROR" {} \;