Occasionally, when playing video games, my computer will lock up and have to be restarted. It's always when playing Battlefield 4 (the only game I play). Addmittedly, BF4 has had significant problems, but I'm not sure if this is one caused by BF4 or not.
The problem, to me, seems to be an overheating problem. However, whenever I look at the temperature, it never seems to be higher than 80 degrees Celsius, which should not cause a lockup, and often is in the mid-60s. To monitor this, I use Open Hardware Monitor, which does not have the capability to write to a logfile.
I need a program that records temperature to a logfile continuously, and closes the log file so that it is not corrupted on a forced shutdown, since I have to do this every time it locks up. Does anyone have any recommendations along with how to set up the logging?
I run Windows 7. The motherboard is an MSI ATX Z87-G45 (LGA 1150).