SharePoint 2010: No new ULS logs being generated

Problem: Customer discovered that the ULS logs had stopped generating. Within the Logs file there were files but from an old date.

Troubleshooting: I looked in Event viewer and found this:

Tracing Service failed to create the trace log file at location specified in SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\LogDir Error 0x0: The operation completed successfully. . Traces will be written to the following directory: C:\Windows\SERVIC~2\LOCALS~1\AppData\Local\Temp\.


  1. In Central Admin go to Monitoring>>Configure diagnostic logging
  2. changed the ‘Path’ value to C:\Temp and then back to D:\SharePoint\Logs
    (They have the logs being written to the D drive which is common, changing it back and forth resolved this problem)

Fight Comparison
Fedor vs Arlovski:
This was an easy one that was a weird resolution but it worked. Kind of like when Fedor was getting pushed back by Arlovski, and then decided to throw a Hail Mary punch to his face, knocking him out cold.

Comments (11)

  1. BlueSky2010 says:

    Good finding Sal! I’m just wondering whether you can post the Event ID which was showing you the error related to the Tracing Service.


    1. Sal Rosales says:

      Hi the event ID is 2163

  2. Greatful says:

    Thanks it worked!

  3. brimind says:

    sometimes it doesn’t work if tracing service is using ad account instead of local system account. using ad account it creates a log file of 0kb.

  4. Kaj says:

    It worked, after I restarted the Tracing service afterwards. Thanks for a good post :o)

  5. Soumya says:

    Still works in SP 2013. Thanks.

  6. Tad. says:

    work like a charm, thanks for sharing.

  7. Ashish Mishra says:

    this is really helpful when C drive is out of space.

  8. this is really helpful when C drive is out of space.

  9. hi what about the those logs that missed dates , we can found in temp folder?

Skip to main content