I'm trying to understand the dontLog feature. I've switched off logging in certain directories using IIS manager, but they're still being logged. The web.config in the dontLog directories contains:
<system.webServer>
<
httpLogging dontLog="true" /></system.webServer>
I also read that I must modify the 'applicationHost.config' file at 'C:\Windows\System32\inetsrv\config' by setting 'overrideModeDefault' to 'Allow'. The values in this file that relate to logging are:
<section name="httpLogging" overrideModeDefault="Allow" />
<add name="HttpLoggingModule" image="%windir%\System32\inetsrv\loghttp.dll" />
<httpLogging dontLog="false" />
<add name="HttpLoggingModule" lockItem="true" /> ' do I need to set this to false?
I'm using AWStats to view the logs.
Can anyone spot anything wrong with this approach?
Thanks in advance.
Paul