67

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?

studiohack
  • 13,468
  • 19
  • 88
  • 118
Mercer Traieste
  • 2,312
  • 2
  • 22
  • 24
  • try ReflectInsight. I handles everything the requester asked. DISCLAIMER: I'm one of the developers for ReflectInsight. http://insightextensions.codeplex.com – code5 Nov 04 '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 05 '16 at 09: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 06 '16 at 07: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

6 Answers6

58

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

BareTail

Gaff
  • 18,569
  • 15
  • 57
  • 68
huseyint
  • 830
  • 7
  • 9
  • 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 08 '09 at 07:21
  • Found this answer by a search. Very cool product to recommend. – T. Stone Dec 08 '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
  • The free version does not even have a search feature! – Jack Miller Jan 30 '17 at 08:05
  • According to [Virustotal.com](https://virustotal.com/en/file/160d6a3bdc9d64677643376f82e559eb4112289e6b6d722b5b3b32699d18bca9/analysis/) the free version was flagged by 2 anti-viruses as being malware. The Pro version comes out clean, though. –  Aug 25 '17 at 07:36
  • 1
    2021 and I'm still using Baretail... lags some useful features, but basically still the best tool – Adrian Apr 26 '21 at 07:23
  • 2022: I lately stumbled over Loxx, which is a very good modern alternative to Baretail. (more like an unofficial successor). Not free, but very fair pricing (I'm not affiliated): https://www.mommos-software.com/index.php/de/ – Adrian Oct 28 '22 at 08:21
26

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!

Simon E.
  • 3,841
  • 5
  • 29
  • 31
C.Trauma
  • 369
  • 3
  • 4
  • 3
    No UNICODE / UTF8 support – Yuri Astrakhan Dec 06 '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
  • 2
    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 03 '16 at 22:44
  • `glogg` unfortunately misses log file updates sometimes (never refreshes). – rustyx Jul 05 '16 at 09:29
  • 1
    UTF8 supported since version 1.1.1 (November 2016) – Jack Miller Jan 30 '17 at 08:06
  • 1
    For what it is worth: I've been evaluating glogg for a while, and have run into a number of somewhat serious issues such as 1) Locking the log file during loading so that the owning application is unable to write to the log file. 2) Freezing with 100% CPU usage when autorefreshing with the latest content. 3) Distribution of unsigned binaries over HTTP. 4) Auto-update notifications that cannot be disabled. ... – Zero3 Jul 02 '18 at 11:30
  • It's basic, but it works. A bit like baretail but on Mac. – gap Jul 02 '19 at 18:36
  • 1
    I love glogg except that it keeps files open. So if you forget to close glogg and your server goes to roll log files... This alone is causing me to look for another log viewer. Which is too bad. It's simple and does everything I need. – MikeJansen Feb 17 '20 at 12:42
  • If you like glogg, try more actively maintained fork -- [klogg](https://github.com/variar/klogg). Klogg has an option to keep file closed and it is generally a lot faster than glogg. – fav May 07 '21 at 23:01
16

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

f3lix
  • 631
  • 5
  • 11
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
idstam
  • 241
  • 2
  • 3
  • 2
    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: http://sourceforge.net/projects/logview4net – idstam Oct 17 '15 at 07:13
  • 1
    ... and now the source is here: https://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
  • Is there no portable version of logview4net out there? – Henrik Nov 17 '19 at 22:04
  • 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.

Gaff
  • 18,569
  • 15
  • 57
  • 68
Demian Turner
  • 287
  • 2
  • 6
  • 1
    +1. `tail -f mylogfile.log` (and you won't have to 'unlearn' it once you move past Windows ;) – rustyx Jul 05 '16 at 09: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.

Sam Saffron
  • 1,003
  • 3
  • 17
  • 30