Separate names with a comma.
cat /var/log/apache/access.log | grep <name of error picture> cat /var/log/apache/error.log | grep <name of error picture> Дальнейшие действия...