javalogginglog4japache-chainsawlog-viewer

Analyzing Log Files Generated by Log4j


I'm trying to find a tool to analyze a bunch of log files generated by log4j and ended up with Apache Chainsaw. Unfortunately, I could not find adequit documentations to help how to use it. All what I was able to do is viewing the result of one log file only.

Does anyone know how to load more than one file at the same time and view them in one tab?

Any helpful documentation?

Any other tools ?

Thanks


Solution

  • You can use LogMX. Using the free version, go to "File" > "Configure Log Parsers...", click on the "+" green button at the right to create a Parser, then click on the tab "Log4j/Logback pattern" tab, then paste your Log4j pattern (the one you specified in your log4j config file, usually something like "%d %level [%thread] %c - %m")

    LogMX can open multiple log files and display their content in a single merged view: