Skip to content

Instantly share code, notes, and snippets.

@kei2100
Created December 27, 2014 08:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kei2100/ac19822280dc4aff997a to your computer and use it in GitHub Desktop.
Save kei2100/ac19822280dc4aff997a to your computer and use it in GitHub Desktop.
Java grep stacktrace log
pcregrep -nM '^.+\n(\w+\.)+\w*Exception:.*(\n\s+at .+|\nCaused by: .+(\n### .+)*)+' log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment