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.
- Set the Value Name = timerlogfile.
- Double-click timerlogfile.
- 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).
- Right-click common, and then select New DWORD Value.
- Set the Value Name = timerloglevel.
- Set Value = 1.
- Quit the registry.
- Open a command prompt, type net stop sptimer, and then press ENTER.
- Type net start sptimer, and then press ENTER.
- 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 Enable Event Error Logging for FrontPage 2000 and SourceSafe