Unable to write to trace log - Event 5401 (SharePoint 2010 Products)


Applies to: SharePoint Server 2010, SharePoint Foundation 2010

Alert Name:   Unable to write to trace log

Event ID:   5401

Summary:   Unified Logging Service (ULS) trace logs contain diagnostic information about what is happening on a Microsoft SharePoint Foundation 2010 server. This information can be used to diagnose problems on your server if they occur.

Symptoms:   The following symptoms might appear:

  • ULS trace log files are not created.

  • This event appears in the event log: Event ID: 5401 Tracing Service failed to create the trace log file at <Log Location>. Error <Error Number>: <Error Description>.

Cause:   This error occurs when the tracing service cannot create a new log file.

Resolution:   Check the event log

  • This error can occur for multiple reasons. The error number and error description describe the cause of the error in more detail; use the information in the error description to determine the most appropriate troubleshooting steps.