61

I'm a developer, and I generate big log files. I've tried several log viewer applications (free or not), so far mtail I like the most. But, it lacks features.

I would like from my log viewer to:

  • handle files > than 10MB
  • filtering
  • highlight search queries
  • behave like a log viewer - do all of these in real time, and fast

The question is:

Which log viewer would you recommend on Windows?

  • try ReflectInsight. I handles everything the requester asked. DISCLAIMER: I'm one of the developers for ReflectInsight. insightextensions.codeplex.com – code5 Nov 4 '13 at 19:27
  • I saw we ban slhck for closing this thread, this thread is EXTREMELY constructive. – John Aug 23 '15 at 11:15
  • @slhck Why the **** is this thread not constructive?? – rustyx Jul 5 '16 at 9:27
  • @rustyx In the meantime we've revamped the reasons for closure — "not constructive" perhaps does not sound right. We do not allow software recommendation questions on this site (see FAQ). But the underlying reason is the same: questions like "plrease recommend me" are very subjective in nature. They are open-ended and it only comes down to "I like this more than this". There is no right answer there, and the questions do not solve a real problem. It'd be better to ask about what you want to do and how to solve that issue. – slhck Jul 6 '16 at 7:03
  • It's too bad there is not a way to migrate old and useful questions like this to the SW Recs site. Meanwhile there are some similar posts there, but with lower quality. – Ben Voigt Apr 19 '17 at 16:14
53

BareTail, which has a free version, works pretty well for us for years.

BareTail

| improve this answer | |
  • I've seen this tool used in many places. – Mercer Traieste Jul 19 '09 at 16:32
  • BareTail is awesome. We use this all the time – pavsaund Aug 8 '09 at 7:21
  • Found this answer by a search. Very cool product to recommend. – T. Stone Dec 8 '09 at 21:02
  • I also use this too, but running it on server 2008 R2 causes somekind of memory-leak with wmiprvse.exe – maxlego Mar 27 '12 at 11:19
  • Positive: it opens logs VERY fast. Negative: the taskbar context menu is obnoxious. – John Aug 23 '15 at 11:16
22

My new favorite log viewer is glogg. It makes finding stuff in noisy log files very easy. It could use a few more features but does 95% of everything I need it to do, it is open source, written in C++ using Qt and runs on Linux/Windows/Mac. Give it a try.

Glogg screenshot on Windows

From the glogg description page:

glogg enables you to use regular expressions to search for interesting events in your log files. It presents a results window which, together with complex regular expressions allows easy isolation of the meaningful lines amongst the noise.

glogg has been primarily developed to help spot and understand problems in huge logs generated by embedded systems. It can be equally useful to a sysadmin digging through logs from databases or web servers.

The main design goals for glogg are:

  • it should be fast
  • it does not have any limit on the size of files it can handle
  • it provides a clear view of the matches even in heavily cluttered files.

If you think it does not do that, it is a bug and it should be fixed!

| improve this answer | |
  • 2
    No UNICODE / UTF8 support – Yurik Dec 6 '12 at 11:00
  • I can live without Unicode/UTF-8 support in a log viewer but Glogg does not (at as August 23rd, 2015) auto-reload automatically (you have to manually press F5) though it's find option is EXCELLENT. Almost ideal for viewing Apache access and MySQL query logs...almost and no dumb taskbar context menu like BareTail. – John Aug 23 '15 at 10:54
  • 1
    Way too slow to load SQL queries log (266MB). – John Oct 16 '15 at 19:34
  • Like it, but wish it had line wrapping. It's a pain to view logs with long lines, which happens frequently with automated systems. – raychi Feb 3 '16 at 22:44
  • glogg unfortunately misses log file updates sometimes (never refreshes). – rustyx Jul 5 '16 at 9:29
15

Log Expert http://logexpert.codeplex.com/

Features:

  • highlighting (regex, etc.)
  • filtering (regex, etc.)
  • custom columnizer (columnizer parses lines into columns)
  • multi-file support
  • + some common features

Log Expert screenshot

| improve this answer | |
  • 7
    It crashes all the time on my machine (Windows 7 x64) – payala Feb 20 '13 at 20:17
  • 2
    Way too slow to load SQL queries log (266MB). – John Oct 16 '15 at 19:34
4

Take a look a logview4net it's free and has a different take on viewing log files.

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
| improve this answer | |
  • 1
    Wanted money before doing anything useful. – John Oct 16 '15 at 19:34
  • 1
    There's a big download button on the page and NO money needed to use it. The source code is available from here: sourceforge.net/projects/logview4net – idstam Oct 17 '15 at 7:13
  • 1
    ... and now the source is here: github.com/idstam/logview4net – idstam Feb 19 '18 at 12:52
  • 1
    This is amazing. I've been using Baretail for years and been waiting for something that competes. I've played around with it on a few folder listeners and memory is steady at 30MB and CPU never spikes. Very happy and also open-source so I can modify little things if I want and use my own build... perfect replacement... for just Windows though. – ScottN Feb 22 '19 at 16:42
  • 1
    @henrik I'll make one and link to it from the readme. – idstam Nov 18 '19 at 11:44
3

Installing MSYS gives you a close version to a Unix environment on Windows, you get all the main binaries. Using these tools you can achieve all the functionality you request using standard commands like tail, grep, less, etc.

| improve this answer | |
  • 1
    +1. tail -f mylogfile.log (and you won't have to 'unlearn' it once you move past Windows ;) – rustyx Jul 5 '16 at 9:33
2

I wrote my own little logviewer just because of that, its really raw at the moment, but would be an ok starting point if anyone wanted to extend it.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.