views:

8323

answers:

21

I have many programs generating tons of logs in files.

What freeware do you know, either for Windows or for multi-platforms (if they are in java for instance), able to tail (display the end of) those files ?

A plus would be their capacity to display some line in a certain visual style depending on 'grep' criteria


Quick update so far:

  • simple 'tail command' won't do: the ability to easily switch between several log files is a must have.
  • for windows, we seem to have so far:

Note: a tool like gltail for remote visualization may be more suited for this question (web server log analysis)

+2  A: 
VonC
+2  A: 

For Windows, I use tailforwin32.sourceforge.net

cruizer
Could you provide a link to that tool in your answer ?I am sure I can google it, but I can not edit your answer to add it myself
VonC
ok i've edited it
cruizer
+1  A: 

If you are using windows this is one good tail from sourceforge!! http://www.codeproject.com/KB/applications/Tail_for_Win32.aspx

Also chek MTAIL a very good utility

GustlyWind
http://www.codeproject.com/KB/applications/Tail_for_Win32.aspx
GustlyWind
nice. I will check it out
VonC
+1  A: 

I've always just used

tail -f <filename>

which works pretty well on linux/unix systems, but would require something like mingw or cygwin on windows.

However, the Windows Server 2003 Resource Kit Tools (the one you want is towards the bottom of the page) come with a tail utility, among other things.

Paul Wicks
+5  A: 

Maybe not the best, but one of the prettiest is glTail - you can modify the tabs on the sides with your own regexps or custom events.

Richard Franks
+18  A: 

My personal favorite for the Wintel platform (at home and at work) is Baretail @ http://www.baremetalsoft.com/baretail/ It can easily display multiple files in a tabbed interface, has a VERY low footprint, and has customizable rules for highlighting and adding visual effects to the logs as they are displayed using text pattern matching & RegEX.

It is 100% free as in beer, even for commercial use and can store both preferences & the files last displayed on a per user basis so that every time you login, you can automatically open up your active logs!

Another great use for this program is viewing very large text files. I've used it to search through multi-GB XML files that any normal text editor would choke on.
Eric Petroelje
+2  A: 

You can try Tail For Win32 (http://tailforwin32.sourceforge.net/) if you need a Windows utility. It allows you to tail multiple files at the same time. It allows you to stop and restart the file listing if you want to get a closer look at a particular area of the file.

Steve Hawkins
+1  A: 

I just looked at jLogTailer

Its a standalone java jar, and it seems to work pretty well, at least on OSX -- problably on windows too.

interesting, thank you for the reference
VonC
A: 

I'm going to also vote for BareTail. After trying a number of different tools for the job, it just comes out way ahead. There are still some things it doesn't do that I'd like (such as splitting lines into columns based on a regex you provide), but in general it "just works".

Phil Nash
I also find it frustrating to not have a simple SEARCH in it (I realize this can be really costly for very large files, but anyway I miss it), because you just want to find a particular line instead of seeing all lines that mach a certain pattern. Going right to it would be swell.
schonarth
You do realize that a regular search is a regex without special characters, right?
Joel
+16  A: 
Very interesting +1: I will check it out :)
VonC
That's hot baby!!! The columnizer plugins have HUGE potential to make the log files easily readable!
Kieveli
There was some problem with logexpert that made my asp.net mvc application restart when logged with log4net. I am not sure why or how. Probably could be because of the unclosed file handles.
Xinxua
The feature list of LogExpert is amazing. But when monitoring multiple files with a lot of action, then it uses lots of CPU and RAM.
Rolf Kristensen
+2  A: 

Notepad++ comes with a 'Document Monitor' plugin which I use for tailing log files. I always have NPP open anyway so it fits in nicely, plus you get tabbed documents (which it remembers on close/re-open).

Jon M
Excellent. I have always the latest npp and I was not aware of this feature. +1
VonC
+1  A: 
Ascalonian
Very interesting. I will check it out. Thanks. +1
VonC
+1  A: 

I use less, either in windows or in linux

Nuno Furtado
A: 

Went to download bare tail, its not free.

Justin
A: 

Highly recommend LogExpert. I tried most of these here, and I highly recommend LogExpert. It has highlight, filter, search, monitor multiple files, bookmarks. It's great and it's free.

+2  A: 

Apache Chainsaw, using a LogFilePatternReceiver to parse & tail the log files (and it supports filtering, colorizing, search, etc)

alt text

Scott
Very interesting tool. Thank you. +1
VonC
+2  A: 

MultiTail... Check the screenshot here: http://satukubik.com/2010/01/07/multitail-colorize-your-log-files/

This application is available in *nix system and mac users can even use it from Macports.

The difference is that it creates multiple windows on your console (with ncurses).
It can also monitor wildcards: if another file matching the wildcard has a more recent modification date, it will automatically switch to that file. That way you can, for example, monitor a complete directory of files.
Merging of 2 or even more logfiles is possible.

alt text

nanda
Thank you for mentioning this tool. The "switching automatically to a more recently updated log file" is neat. +1
VonC
A: 

BareTail is free (as in beer), BareTail Pro is not. Neither are open source.

Ryan Beesley
+1  A: 

We at Grasscove built Survlog for OS X. It handles a lot and looks very very clean.

We think being able to view log files that are remote is what sets us apart from other tailing applications as well as multiple log files at once.

Edit: I work for Grasscove :P alt text

Kyle Browning
Very cool app ;) +1. Just make sure to read http://meta.stackoverflow.com/questions/15787/how-do-i-mention-my-own-products-in-answers and http://meta.stackoverflow.com/questions/55914/is-it-ok-to-push-your-own-product-on-so
VonC
Thanks VonC, I edited the comment.
Kyle Browning
+1  A: 

http://logview4net.com/ could also be an option.
The sources are here.
The freeware is also presented in this website.


A free (open source) log monitor / log viewer for:

  • Files and folders
  • Incomming UDP traffic
  • EventLogs
  • SQL- Server tables
  • Atom and RSS feeds
  • StdOut and StdErr

Features:

  • Multiple actions, such as highlight, ignore and sound, based on event content.
  • Supports multiple simultaneous listeners in each session.
  • Supports several simultaneous sessions (MDI).

Requires the Microsoft .NET Framework 2.0

alt text

Rolf Kristensen
Interesting software. +1. But will Johan Idstam (http://http://jsisoft.com) be able to maintain this freeware?
VonC
A: 

The Kiwi Log Viewer has a working free version, but some important features are limited there (e.g. recent files list limit is 2).

Space_C0wb0y