grep -e 'Exception' app.log* | grep -vE 'Exception:(401|403|200)]' -v inverte il pattern di ricerca ovvero esclude le righe che matchano il pattern -E usa le [[https://en.wikipedia.org/wiki/Regular_expression#POSIX_extended|Extended regular Expression]]