The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SPDiagnosticsService.LogLocation Property

Windows SharePoint Services 3

Gets or sets the path to the file system directory where log files are created.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public string LogLocation { get; set; }

Property Value

Type: System.String
A String with a valid file system path.

The location that you specify must exist on all servers in the server farm. The default location for installation of log files is

C:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Logs

Community Additions