Extend WSS Logging
Just a quick one: By default WSS logs into a file located in your temp directory (i.e c:windowstemp) and is named w3wpWebsiteName.log.
The only thing is that WSS does not write many log entries in this file. So when I made a typo in the ONET.XML from STS I was lost searching for the problem.
Luckily it is possible to have WSS log a lot more. This is how:
- start regedit
- Locate the key HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsWeb Server Extensions6.0
- Change the value of the LogLevel key to 9
- Restart your computer (the registry needs to be re-read by Windows)
- Make sure the user you are testing with has modify rights on the logfile!
Don’t forget to set this setting back to 0 before you go into production. Logfiles are growing rapidly this way!