Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Following a text or log file in Windows. Notepad++ perhaps? [closed]

I have a log file that keeps changing every couple of seconds. I'm using Windows 7 and would like to follow it. In Linux it would have been simple, just type tailf log.log in a shell. But how do I do this in Windows? Can anyone recommend any programs? Does notepad++ have an option for this sort of thing perhaps?

like image 942
Ray Avatar asked Nov 15 '12 18:11

Ray


People also ask

How do I open a log file in Notepad?

Because most log files are recorded in plain text, the use of any text editor will do just fine to open it. By default, Windows will use Notepad to open a LOG file when you double-click on it.

What is a log text file?

A log file is a computer-generated data file that contains information about usage patterns, activities, and operations within an operating system, application, server or another device, and is the primary data source for network observability.

How do I open a long log file?

You can read a LOG file with any text editor, like Windows Notepad. You might be able to open one in your web browser, too. Just drag it directly into the browser window, or use the Ctrl+O keyboard shortcut to open a dialog box to browse for the file.


1 Answers

Notepad++ can do auto update of files. You can find the setting in Settings -> Preferences... -> MISC -> File Status Auto-Detection. Check all three boxes and the files will be updated on change and scrolled to the bottom. Only problem with this is that the Notepad++ window has to be in focus for it to update.

There is also a Document Monitor plugin for Notepad++ but I have never tried it myself.

like image 85
ellak Avatar answered Sep 16 '22 13:09

ellak