Just Exceptions, please

A nice awk snapshot for logging just exceptions… tail it to tail ;)

You can obviously replace “2010” with your date-pattern.

awk '/Exception/ {
 do {
   print $0;getline;
 }  while ($0 !~ /^2010/)
}'

Lascia un commento