This feature is available as an add-on for log4j - http://www.openmindlab.com/lab/tools/openutilslog4j/layout.html
It's been very handy for filtering out all the lines of library code I don't care out in the stacktraces, especially the crazy verbose JRuby stuff.
It's been very handy for filtering out all the lines of library code I don't care out in the stacktraces, especially the crazy verbose JRuby stuff.