6 points · by todsacerdoti · 3y ago · 1 comment
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"
Grep and Log Analysis
How I use grep to analyze logs: isolate errors, track down issues, and spot patterns, with real command examples and a short look at how grep works.
Muhammad Raza