Find all files with the extension ".log" in the current directory, then take the output of each file and combine them into one stream, randomly sort the stream, and output the first line.
find . -name '*.log' | xargs -I{} cat {} | sort -R | head -1