1

I'm trying to find a log viewer for a log4j generated plain text file that supports MDC. I have looked at a few like Chainsaw, LogSaw, Otros but they seem to only support NDC.

Can anyone point me in the right direction?

Victor Zakharov
  • 25,801
  • 18
  • 85
  • 151
NathanS
  • 163
  • 2
  • 10

2 Answers2

5

Try OtrosLogViewer. It supports MDC (displayed as properties).

OtrosLogViewer screenshot

Disclaimer: I am the author of OtrosLogViewer

Matt
  • 74,352
  • 26
  • 153
  • 180
KrzyH
  • 4,256
  • 1
  • 31
  • 43
0

Chainsaw supports it - try the latest developer snapshot: http://people.apache.org/~sdeboy

Then use the configuration dialog to tell Chainsaw to process a regular text log file, and if you used a log4j.properties or log4j.xml with a FileAppender entry to generate the logfile, tell Chainsaw to use the FileAppender entry to build the configuration.

Scott
  • 1,728
  • 11
  • 11