How can I see the last lines of a large file in Windows? [duplicate]

Posted on


My servers hung, and after a restart it showed me that my hard drive was full (Windows Server 2008). I looked into the problem and it was a 189 GB Tomcat log file!

To find out the cause for the crash, seeing the last 100 lines of the file would be enough.

Is there a quick way to do this?


Tail for Win32 is a GUI tool that can be used to monitor changes to a log file in real time.


You need to set up the log to rotate. As of right now, your log is just constantly appending to the end, which is causing it to grow constantly. There is a solution on the Stack Overflow website which you might want to try.

Leave a Reply

Your email address will not be published. Required fields are marked *