Follow in Twitter & Facebook


Like in Facebook

Powered By Blogger Widgets

Free Download

FREE Tools


Thursday, August 18, 2011

ULS : Unified Logging Service in SharePoint 2010

This service is responsible for saveing or reporting logs in SharePoint. It report 3 different locations:
  • SharePoint trace logs
  • Windows Event Log
  • SharePoint logging database
SharePoint trace logs:
These are simple text files and by default the logs are located at the LOGS directory of the SharePoint root at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14. The naming convention of the Log file is machinename-YYYYMMDD-HHMM.

And a new log file is created in every 30 minutes.

SharePoint 2010 adopts NTFS file compression for the Logs folder, so it will take less space. In SharePoint 2010 also you can customize your logs from the Central Administration.

Another feature is you can change the location of the Log from the Default location to a different location from the central administration. For this Go to Central Administration -> Monitoring -> Confi gure Diagnostic Logging. Also you can configure the number of days the trace logs are kept. Also you can use power shell command by using the following command: Set-SPDiagnosticConfig -LogLocation e:\Logs

You can also assign the amount of space the log will consume from the drive. SharePoint maintains a GUID for each conversation between a user or process. When an error occured an administrator can use the correlation ID to track the issue.

You can also check SharePoint Articles and SharePoint Jobs.




0 on: "ULS : Unified Logging Service in SharePoint 2010"