Microsoft Knowledge Base Email Alertz

(271613) - 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 More Information...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 271613 - Last Review: February 21, 2007 - Revision: 2.1

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

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  (http://kbalertz.com/Feedback.aspx?kbNumber=256986/EN-US/ ) 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 "More Information" 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.
  1. Manually create the directory where you want the log file to be stored (for example, C:\ows_logs).
  2. Click Start, point to Run, and then type regedit in the Open box.
  3. Expand the tree to the following key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\10.0\Web Server
  4. Right-click Web Server.
  5. Select New Key, and then name the key common.
  6. Right-click common, and then select New String.
  7. Set the Value Name = timerlogfile.
  8. Double-click timerlogfile.
  9. 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).
  10. Right-click common, and then select New DWORD Value.
  11. Set the Value Name = timerloglevel.
  12. Set Value = 1.
  13. Quit the registry.
  14. Open a command prompt, type net stop sptimer, and then press ENTER.
  15. Type net start sptimer, and then press ENTER.
  16. Close the command prompt.
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  (http://kbalertz.com/Feedback.aspx?kbNumber=238252/EN-US/ ) Enable Event Error Logging for FrontPage 2000 and SourceSafe

APPLIES TO
  • Microsoft SharePoint Team Services
  • Microsoft FrontPage 2002 Server Extensions
Keywords: 
kbhowto KB271613
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate