Microsoft KB Archive/817101

= How to Configure a Virtual Server for Usage Analysis Logging =

Article ID: 817101

Article Last Modified on 2/21/2007

-

APPLIES TO


 * Microsoft Windows SharePoint Services

-



SUMMARY
This article describes how to maintain an accurate Usage Analysis log of usage data after you add a new virtual server to SharePoint Team Services.



MORE INFORMATION
If a virtual server is added after usage processing is set, usage processing will not be enabled for that virtual server. You can enable logging for this virtual server by using either of the following methods.

Configure Usage Analysis Processing for a Server

 * 1) Click Start, point to All Programs, point to Administrative Tools, and then click SharePoint Central Administration.
 * 2) In the Component Configuration section, click Configure Usage Analysis Processing.
 * 3) In the Logging Settings section, click to select the Enable logging check box.
 * 4) In the Log file location box, enter the location where you want to store the log file. The default location for the log file is C:\WINNT\System32\LogFiles.
 * 5) In the Number of log files per virtual server box, enter a number between 1 and 30. Generally, you should use a number that is one to three times the number of database servers in your Web Farm, with a maximum number of 30 log files.
 * 6) In the Processing Settings section, click to select the check box.
 * 7) In the Start list, select the time of day to start running log processing. In the End list, select the time to stop running log processing. Make sure that you set an interval of at least 30 minutes between the start and end times to allow the processing operation to run.
 * 8) Click OK.

Configure Virtual Server Through the Command Line
 Click Start, and then click Run. Type the following command in the Open box:

stsadm.exe -o setproperty -pn job-usage-analysis -pv &quot;daily between HH:MM:SS and HH:MM:SS&quot; -url

 Click OK.

Note When you use the command line to set the Start and Stop times for an individual virtual server by using the command-line tool, those adjustments are not visible on the Component Configuration page. This page reflects only the settings and changes made through Component Configuration and not by the command-line tool.

Additional query words: STS2003 SPS2003

Keywords: kbinfo kbreadme KB817101

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.