Hi

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
troubleshooting.

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:

http://logging.apache.org/log4j/2.x/manual/filters.html

Any and all help is much appreciated.

Thank you.

Reply via email to