views:

1783

answers:

7

Anybody in the know of a viewer (or Notepad++ plugin) that can read txt files in a streaming way? I would like to see for example the last 10 lines of a txt file that gets appended continiously.

A: 

In UNIX, tail -f . In Windows? Don't know. The Cygnus tools probably have the tail command as well.

bog
I know, at my last job we did it with the tail-f, but i'm a .net'r now ;)
borisCallens
+3  A: 

If you want a GUI that shows the last ten lines, see: The best Tail GUI

If you want a running log in a windows console, see: Looking for a windows equivalent of the unix tail command

gz
+8  A: 

Tail for Win32 is a simple open-source program I've been using for a couple of years already.

Notepad++ can actually do it out of the box. Look in the MISC tab of the its settings for the section File Status Auto-detection. It has options to silently reload the file on changes and automatically scrolling to the last line.

Otherside
The problem with using Notepad++ for this is that (at least in version 5.3.1) it doesn't update the display in the background - it must have focus for the updating to occur. Plus, all of your documents (tabs) must work the same way, either tailing or not. Obviously much better than nothing if you find yourself on a system with Notepad++ but no other tail utility, but IMO not as good as a true tailer.
glaxaco
+1  A: 

in other word... Best tail (log file visualization) freeware tool ? , no ?

The solution in that question was: Baretail

VonC
A: 

A great tool with tailing, highlighting, filtering, columnizing and a rudimentary Eclipse integration is Log Expert. Also has a SDK and is free for both non-commercial and commercial use.

desolat
A: 

The Notepad++ plugin you're looking for is Document Monitor. However, if you notice that Notepad++ freezes unpredictably, causing you to lose unsaved changes, then this plugin may be the culprit, as it is known to be unstable. See http://www.g-loaded.eu/2009/10/17/be-cautious-with-notepad/

Also look at other threads on tailing documents on Windows:
http://stackoverflow.com/questions/18632/how-to-monitor-a-text-file-in-realtime
http://stackoverflow.com/questions/113121/best-tail-log-file-visualization-freeware-tool

Keshav
A: 

You can tail log files using Apache's Chainsaw by configuring Chainsaw with a LogFilePatternReceiver. See the Welcome tab for an example configuration file.

http://logging.apache.org/chainsaw

Scott