Microsoft KB Archive/271613

= STS: How to Turn on Global Logging for SharePoint Team Services =

Article ID: 271613

Article Last Modified on 2/21/2007

-

APPLIES TO


 * Microsoft SharePoint Team Services
 * Microsoft FrontPage 2002 Server Extensions

-



This article was previously published under Q271613



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
You can enable global logging on a server running SharePoint Team Services from Microsoft to troubleshoot the following issues: notifications, database backups, server health, and usage processing running on a regular schedule. The &quot;More Information&quot; section of this article explains how to turn on global logging.

NOTE: The log file can grow large very quickly, depending on how many servers are running SharePoint Team Services.



MORE INFORMATION
To enable global logging on a server running SharePoint Team Services, follow these steps.

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

 Manually create the directory where you want the log file to be stored (for example, C:\ows_logs). Click Start, point to Run, and then type regedit in the Open box. Expand the tree to the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\10.0\Web Server

 Right-click Web Server. Select New Key, and then name the key common. Right-click common, and then select New String.</li> Set the Value Name = timerlogfile.</li> Double-click timerlogfile.</li> In the Value data edit box, type the path to the directory that you created earlier, including the file name of the log that you want to be created (for example, C:\ows_logs\ows.log).</li> Right-click common, and then select New DWORD Value.</li> Set the Value Name = timerloglevel.</li> Set Value = 1.</li> Quit the registry.</li> Open a command prompt, type net stop sptimer, and then press ENTER.</li> Type net start sptimer, and then press ENTER.</li> Close the command prompt.</li></ol>

The timer service is now restarted. The service is displayed as SharePoint Timer Service.

NOTE: DWORD VALUES:

DWORD Value 0 = no log

DWORD Value 1 = logging enabled

DWORD Value 2 = verbose logging enabled

NOTE: Global logging is different from the FrontPage Server Extensions author logging, which logs authoring transactions. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

238252 Enable Event Error Logging for FrontPage 2000 and SourceSafe

Additional query words: inf SP2002

Keywords: kbhowto KB271613

-

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

© Microsoft Corporation. All rights reserved.