Use the Minecraft Query server rather than the log file to track the number of users.