Java Log Viewer

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

I was looking for a decent look at magazines for a while and did not find a real solution. The only program that seemed most suitable was Chainsaw with its Socket connector, but after a few short uses the program turned out to be faulty and non-responsive at best.

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

Is there another (free) log viewer? I am looking for anything that can work well with log4j.

+72
java log4j viewer
Sep 28 '08 at 0:02
source share
18 answers

You did not mention the OS, so I mentioned it, although it is only on Windows.

Bare Metal software makes a product called BareTail , which has a nice interface and works well. They have a free version with a boot screen, a licensed version without navas and a pro version with additional features. It has customizable highlighting based on matching strings with keywords.

They also have a BareGrep product that provides similar grep capabilities. Both are excellent and very stable and better than everything I've seen on Windows. I really liked them, I bought a package with both versions for $ 50.

+13
Sep 28 '08 at 0:57
source share

I just wanted to say that I finally found a tool that I could handle well ...

It is 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 important things that BareTail does not have. And if you want to set up a way to further analyze the columns, this is simply not possible. Just implement the interface in .NET and you're done (and I'm a Java / Flex programmer ...)

+29
Dec 28 '08 at 2:15
source share

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

You can watch the Youtube video or screenshots: Marked log eventsClass filter

Disclaimer I am the author of OtrosLogViewer

+26
Jun 21 2018-12-12T00:
source share

I am using Notepad ++ with my custom log file highlighting UDL . Looks like that:

enter image description here

+11
Sep 13 '12 at 11:35
source share

You can try logFaces , it has a fantastic real-time log viewer based on an Eclipse-like design.

alt text

Disclosure of Information . I am the author of this product.

+7
Apr 15 '09 at 20:41
source share

Suppose to use the Log4j viewer eclipse plugin - it was the Ganemede plug-in for begging, and now it has more features and stability, has improved significantly and is still actively developing and is free :)

+5
Jan 15 '12 at 4:00
source share

I always used 'tail -f | grep re 'or sometimes awk.

+3
Sep 28 '08 at 0:15
source share

LogSaw is based on Eclipse and is free. Log4j log file analyzer, easy to use with simple filtering. It supports several options for log4j log files: JBoss, Log4j template layout, Log4j XML layout, WebSphere.

It works like a charm. After several hours of searching the Internet and trying several recommended free log4jj viewers, this was a pleasant surprise. Tried Chainsaw, BareTail, Insight, LogExpert, logview4j.

It was released a few weeks ago, and I assume that it is still building its way on google.

+3
Dec 24 '10 at 10:04
source share

I looked through Splunk ( http://www.splunk.com/ ) to browse and search the magazine with great success. The free version can be used locally, and the paid version can collect all your magazines in one place. We use it mainly for Log4J magazines, but with a lot of other formats.

In addition to tail and grep support (without the need to know grep ...), it automatically indexes logs and makes it easy to analyze (for example, the number of events in the last xx time frame), as well as basic charts, warnings, and event aggregation.

I will not say that the application is perfect or that the company has not yet matured. But I do not hesitate to recommend you a try at all.

+2
Sep 28 '08 at 5:58
source share

I will add that for Windows WireShark offers a convenient syslog viewer, ironically. I tried several other syslog tools, and indeed, Kiwi is the best for syslog, but the "free" version is a little nervous. Others that I encountered were either poorly programmed (logview4net failed for minor problems), had a bad interface (Star SysLog Daemon Lite), or did not even start (nxlog)

You can use the WireShark filter language to drill down on log data. This is too complicated, but until someone writes a free syslog viewer / collector for Windows and makes it decent, this is one field that will be difficult for most people.

Example:

# Display level 6 alerts from 192.168.5.90 in WireShark syslog.level == 6 && ip.addr == 192.168.5.90 
+2
Oct 30 '11 at 3:11
source share

LogMX is a cross-platform tool that analyzes any log format from any source and then displays log entries with many features. By default, it processes formats like Log4j, LogFactor, syslog, ... and can read from a local file or SFTP, FTP, HTTP ... but you can write your own pluggins if your format is different, or if your logs cannot be accessed through classic protocols.

You can track logs in real time, such as tail, or download the entire log file and stop it.

www.logmx.com

+2
Jan 28 '14 at
source share

Depending on what platform you are running on and what other log viewer tools you have, you can simply use the appropriate log4j appender (syslog, Windows Event Logger) and just use the platform log viewer tools.

In addition, I usually saw developed developed solutions.

Something that will drive your decision is what your overall system is. Are you trying to combine logs from multiple computers? Or just view the logs from one remote process?

0
Sep 28 '08 at 0:17
source share

You might want to use a specialized log viewer that only works with files. I like Kiwi Log Viewer or Ganymede (Eclipse plugin), but it’s easy to add a simple Swing application that is read from a socket.

0
Sep 28 '08 at 0:37
source share

Take a look at http://jlogviewer.sourceforge.net/ or http://sourceforge.net/projects/jlogviewer/ The Java Log Viewer is an easy-to-use graphical interface for easily viewing the Java application logs created by the java.util.logging package . This is open source!

0
May 18 '09 at 10:56
source share

You can use MindTree Insight , it is open source, efficient and specific to this use case: analyze log4j files.

0
Feb 09 '12 at 11:32
source share

I wrote a special tool for this: https://plus.google.com/u/0/102275357970232913798/posts/Fsu6qftH2ja

Alfa is a GUI tool for analyzing log files. Usually you are forced to search for data in them using editors. You open the log, press Ctrl-F and the "Next" button again and again, then download the file as it was changed and repeat the search. Alfa maps the log file to the database, allowing you to use standard SQL queries to retrieve data without any unnecessary action.

UPD: Google killed Google+, so please use a different link: https://drive.google.com/drive/folders/0B-hYEtveqA0aN1E3Ul9NVlFlYWM

0
Jan 14 '13 at 14:38
source share

Another good log viewer is Lilith ( http://sourceforge.net/projects/lilith/ and http://lilithapp.com/ ). It is open source and works well with Logback, log4j and java.util.logging.

0
Feb 19 '14 at 2:30
source share

Just published a node module for outputting the color-highlight log log-color-highlight .

 echo "this string" | lch -red.bold this -blue string 

Works well on unix / linux / windows and supports a configuration file for complex logging scripts.

For windows, I use it in conjunction with file-tail

0
Jul 17 '15 at 16:03
source share



All Articles