ULS not enough storage for log directory - Event 2150 (SharePoint 2010 Products)
Applies to: SharePoint Server 2010, SharePoint Foundation 2010
Alert Name: ULS not enough storage for log directory
Event ID: 2150
Summary: The Microsoft SharePoint Foundation Tracing (SPTracev4) service is used by Microsoft SharePoint Foundation 2010 to manage usage log output. When usage logging is turned on, administrators can specify the path that is used to store the usage logs. This log file is used by many applications that are built on top of SharePoint Foundation 2010. This event occurs when not enough free space is available for logging.
Symptoms: One or more of the following symptoms might appear:
The usage log shows no new usage data.
This event appears in the event log: Event ID: 2150 Description: Failed to create a usage log file at <Log Location>. There must be at least <# of GBs needed to resume logging> GB of free space if the usage logs are on System Drive.
Cause: The configured log location does not have enough free disk space for logging.
Resolution: Free up disk space or relocate the usage log
SharePoint Foundation 2010 could not write to the usage log. This usage log contains information that is helpful for usage tracking and reporting.
To free up disk space:
Use Disk Cleanup to free up disk space where the usage log files are stored.
Verify whether the trace log has enough disk space to run properly.
If disk space is inadequate, try to clean the Temp folders on the drive.
If this procedure does not solve the problem, you can relocate the usage log file to a partition that has more drive space.
To relocate the log file:
On the SharePoint Central Administration Web site, on the Quick Launch, click Monitoring and in the Reporting section click Usage Logging.
On the Usage Logging page, in the Logging Settings section, type the new location for the usage log file.
Click OK.
To check the usage log file:
To verify that Microsoft SharePoint Foundation 2010 can create and write to the usage log file, on the Central Administration page click Monitoring, and in the Reporting section click Usage Logging.
On the Usage Logging page, in the Logging Settings section, copy the path of the usage log file.
In Windows Explorer, navigate to the usage log file by using the copied path. Usage log files are in binary format and the contents cannot be easily viewed and understood. The file size of the usage log increases over time and confirms that usage logging is working.