logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Hart <hartj...@gmail.com>
Subject regex to generate a clean text message
Date Sat, 01 Mar 2014 00:04:58 GMT

I'm an admin for a java application that uses log4j.

I'm working with a vendor to see if there's a way to scrub the output of
their log messages. The output of these messages is quite long (at least a
few hundred characters) making the lines difficult to read when

Is there a way to apply a standard log4j filter or layout that will takes a
regex as input and generate a reduced line with only the bits of text we
care to see?

I thought maybe this RegexFilter would do the trick, but I can't quite tell
by the documentation:


Any and all help is much appreciated.

Thank you.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message