I'm pretty sure that you can achieve this..
grep -i -e "error" -e "warning" application.log
With the or/pipe, e.g ..
"error|warning"