Posted by: kurtsh | May 11, 2015

HOWTO: Disable Office debug logging (and remove the massive log files from your drive)

imageToday, I noticed I had only 5GB left on a 256GB SSD flash drive on my Surface Pro 3.  I don’t use that much storage so something is wrong

So I do a quick scan using my favorite space mapping tool, Spacemonger, and lo-and-behold, in the %Temp% folder, 50GB+ is being taken up by the following files alone:

  • outlook.exe.log
  • winword.exe.log
  • excel.exe.log
  • powerpnt.exe.log
  • onenote.exec.log
  • csisync.exe.log

Near as I can tell, somewhere along the line I got a registry key flipped that initiates debug logs for all of the Office products.  (I assume our IT Helpdesk must have done this for some reason even though the last time I talked to them the issue had nothing to do with Office) In any case, the offending key can be deleted and the logging process will stop.

  • HKEY_CURRENT_USER\Software\Microsoft\Office\x.0\Common\Debug –> TCOTrace

The logs in the %Temp% folder are all safely delete-able and can be manually removed – unless you have the relevant application open in which case the file can’t be deleted until you’ve shut the owning application down.

For details on how to do this, read the following Support article:


%d bloggers like this: