Parse log4j log files within java code

1.2k Views Asked by At

Is there anyway to parse log4j files in your source code directly? I know that there are software's (chainsaw, otroslogviewer) that help you view them outside however looking for something that will help you do it within java code (and maybe return a Log object or something for every entry parsed?)

1

There are 1 best solutions below

0
On

log4j's LogFilePatternReceiver can do that