Processing Java stacktrace Log

Processing Java stacktrace Log

Hi,

EventLog analyzer is reading java stacktrace from tomcat logs line by line.
How can we make it so that a stacktrace is processed as a a whole.

Regards,
Corné