How to Enable ULS Logging

SharePoint 2007

  • Open your SharePoint Central Administration site.
  • On the top navigation bar, select Operations.
  • On the Operations page, in the Logging and Reporting section, select Diagnostic Logging.
  • Configure Logging and specify a local path to use for the trace log on all servers in the farm.  The default location is C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\LOGS. To change the location, type a new one in the Path field.  The location must exist on all servers in the farm.
  • You can also specify the maximum number of files that you want to maintain and the number of minutes to use each log file.
  • Select OK.

SharePoint 2010

  • Open your SharePoint Central Administration site.
  • Select the Monitoring section.
  • Under Reporting, select Configure diagnostic logging.
  • Configure Logging and specify a local path to use for the trace log on all servers in the farm.  The default location is C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS. To change the location, type a new one in the Path field.  The location must exist on all servers in the farm.
  • Next specify the number of days to store log files.
  • You also have the option to restrict the maximum amount of storage to use for logging.
  • Select OK.

New log files will be named in the following format: servername-YYYYMMDD-TTTT.log. For example, a log file created on February 9, 2012 at 1:20PM on a server named "jcriner" would be named jcriner-20120209-1320.log.

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk