Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java Log Viewer [closed]

Tags:

java

viewer

log4j

Unfortunately, sometimes the only way to debug a program is by going through its long log files.

I searched for a decent log viewer for a while now, and haven't found a real solution. The only program that seemed to be most appropriate was Chainsaw with its Socket connector but after a few short uses the program proved to be buggy and unresponsive at best.

For my purposes, a log viewer should at least be able to mark log levels (for example with different colors) and perform easy filtering based on packages and free-text.

Is there any other (free) log viewer? I'm looking for anything that could work well with log4j.

like image 645
Nadav Avatar asked Sep 28 '08 00:09

Nadav


People also ask

How do I use log viewer?

Browse to the directory containing the log files you want to view. Select a log file and click Open. If you are using a version prior to 12.2, see Paths in Earlier Versions. Click the file in the left pane of the Log Viewer to view the details.

What is Logviewer utility?

The Personal Communications log viewer utility enables you to view, merge, sort, search, and filter information contained in message and trace logs. You can use the viewer during problem determination to work with message and trace log entries.


2 Answers

Just wanted to say that I've finally found a tool that I can get along with just fine...

It's called LogExpert (see http://www.log-expert.de/) and is free. Besides the usual tail function, it also has a filter and a search function - two crucial things that are missing from BareTail. And if you happen to want to customize the way it parses columns further, it's dead simple. Just implement an interface in .NET and you're done (and I'm a Java/Flex programmer...)

like image 63
Nadav Avatar answered Sep 18 '22 17:09

Nadav


I'm using OtrosLogViewer. You can mark log events manually or using string/regular expression. You can filter events based on level, time thread, string or regular expression. Logs can be imported by listening on socket or connecting to Log4j SocketHubAppender

You can take a look at Youtube video or screenshots: Marked log eventsClass filter

Disclaimer: I am the author of OtrosLogViewer

like image 44
KrzyH Avatar answered Sep 22 '22 17:09

KrzyH