Where is the log file located?

Are you loading the log into a local instance of IE, FF, Chrome?

Is it possible the long processing time is the transfer of the file?

Can you post the full code responsible for reading the log file? You can surround it with a code bracket to make it easier for us to read also.