I'm trying to monitor the latest.log file as it updates. I have tried FileSystemWatcher (.NET C#), Powershell (Get-Content), and other open source projects, all with the same result. I found that latest.log does not update on any of my Windows server environments unless I either right-click the file or open it. I was originally running Java 7, and tried the latest (or last) version of both 6 and 8. I am also running MC server on Ubuntu Linux and do not have this issue there.
Comments 3
It is a bug. It is reproducible on multiple systems with different versions of MC server. Programs that do exact what tail do show no change in the contents of the file until the file is touched. Whatever you are using to write the log file is not working correctly.
Saying it works on one platform is not testing that the bug exists. Marking it resolved is not accurate.
Windows issue. Working on Linux with
tail -f ./latest.log
This is a technical support issue; this site is for bug reports only. For technical support please use the Mojang Support Center.