vote up 8 vote down star
2

There is a already question that asks about opening a large log files.

But my intention is different. Is there any application that monitors a log file and updates as it is updated in real time?

Platform: Windows XP/2003/2008 server

[Update] this is quite handy for a quick monitoring(thanks to Ckarras's answer)
Quick screen shot of PowerShell type -wait (type is an alias for get-content) alt text

flag

Which IDE are you using? – chickeninabiscuit May 8 at 6:28

13 Answers

vote up 3 vote down check

I've been using BareTailPro for awhile, and have been very pleased. It hasn't been updated in awhile, but it still meets my needs. There's also a free version.

Here's some of the features:

  • View files of any size (> 2GB)
  • Configurable highlighting
  • Monitor multiple files simultaneously
  • High-performance search algorithm
  • Regular expression text search
  • Filter tail mode (include or exclude lines)
link|flag
This is what (BareTail Free version) I settled with for now. Thanks Rob – Sung Meister Jul 19 at 17:35
vote up 16 vote down

You don't mention which platform you're using, but on Unix-like systems the tail command does this:

tail -f /var/log/messages

In fact there are implementations of tail for Windows also (eg. unxutils).

link|flag
1  
You are right, Greg, I should have mentioned my platform. It's windows XP/2003 server – Sung Meister Apr 30 at 23:21
vote up 14 vote down

If windows is your thing you could try Tail for Win32.

edit: Another alternative I just found is TailXP. It's free, but not opensource. Looks ok from the description but I haven't tried it.

link|flag
The advanced features feel a little buggy but for simply tailing the file, it's perfect. – Michael Haren Apr 30 at 23:10
2  
Because of "tail" stuff people were mentioning, I found something called "BareTail" - baremetalsoft.com/baretail So far it seems to be doing what I wanted. But I am open for more suggestions. – Sung Meister Apr 30 at 23:34
That one looks nice to know about too. – Jorge Alves Apr 30 at 23:40
vote up 8 vote down

I use Notepad++ as my default text editor on all my systems, and it has the nice bonus of having this built-in - just go Plugins -> Document Monitor -> Start to monitor. You can also use File -> Reload from disk to manually reload it.

link|flag
3  
+1 Wow, I have been using Notepad++ for awhile but didn't know about this functionality. thanks. – Sung Meister Apr 30 at 23:57
vote up 3 vote down

Actually, Log-Expert does what you want, plus a lot of nice feature

alt text

link|flag
Would you add log-expert.de to your answer? Thanks. – Sung Meister May 3 at 0:24
@dance2die done – VonC May 3 at 10:04
vote up 2 vote down

Like tail -f file.log?

link|flag
But doesn't this mean I have to be running the command constantly? – Sung Meister Apr 30 at 23:20
No, the tail command will wait after printing the last line, and when the file is updated/appended it will print the new line(s) and wait again. Instead of plain tail you might try vanheusden.com/multitail. – hlovdal Apr 30 at 23:26
He also said for the Windows OS. – Pure.Krome May 1 at 0:02
1  
Not when I answered, he hadn't. – Ben Alpert May 1 at 0:32
vote up 2 vote down

I love the Kiwi Log Viewer. They were just bought out by Solarwinds -- I assume the product is still for sale (or maybe they're giving it away for free now? They're giving away a few other Kiwi products).

link|flag
Would you post link to Kiwi Log Viewer? I am not sure if this one I found is the one you are referring to: kiwisyslog.com/kiwi-log-viewer-overview – Sung Meister May 3 at 0:22
Yeah, that's the one -- kiwisyslog.com – DougN May 4 at 15:35
vote up 2 vote down

I have had good luck with the windows program mtail. It does a very nice job of monitoring an active log. You can configure quite a few options but in general I have found the defaults work very well.

mtail

link|flag
Great! I didn't get to run into this one. – Sung Meister May 3 at 0:23
vote up 2 vote down

There's also an equivalent to "tail -f" under Windows, if you have PowerShell installed:

type -wait
link|flag
Wow. this is quite awesome. I had no idea about that "-wait" option for "Get-Content". Thanks ckarras. I have also updated question with the screenshot. – Sung Meister Sep 12 at 17:41
vote up 1 vote down

If you install Cygwin on your Windows machine, you can run tail

link|flag
Hmm. Cygwin. I haven't played around with that for years... – Sung Meister May 3 at 1:49
vote up 1 vote down

I typically do this with TextPad. It has the option to monitor that a file has been modified. It is an option to either automatically update the window or to prompt you whether or not you want to reload the file.

link|flag
It looks like TextPad has a the same capability as NotePad++'s Document Monitor plugin – Sung Meister May 3 at 0:26
vote up 0 vote down

"tail -f logname"?

link|flag
He edited his post to say it's for Windows OS only. – Pure.Krome May 1 at 0:02
There are plenty of versions of tail for Windows, including in cygwin. – Paul Tomblin May 1 at 0:13
vote up 0 vote down

If you're using eclipse there's a fully sick plugin called Log Watcher

http://graysky.sourceforge.net/

It supports multiple files, plus color highlighting.

link|flag

Your Answer

Get an OpenID
or
never shown

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