IIS Optimizing logging for Awstats & reduce logs size by over 50%!

High traffic sites can easily get daily logs over 100MB. It can be very beneficial to log only the information we actually use. We will require the minimum logging for decent Awstats reports. We will copy the recommended Apache LogFormat:
"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %V"

For more details on the meaning of these values see: Apache Preferred Awstats Custom Log Formats.

Open IIS, go to your website entry. Right mouse click and select "Properties" from the menu.
Go to the "W3C Extended Log File Format", "Properties" button.

From the "Extended Logging Options" tab, select the following options only (i.e. de-select the others):
Time  (in awstats: %time2)
Client IP (in awstats: %host)
UserName (in awstats: %logname)
Method (in awstats: %method)
URI-Stem (in awstats: %url)
URI-Query (in awstats: %query)
Protocol Status (in awstats: %code)
Bytes Sent (in awstats: %bytesd)
Host (in awstats: no used???)
User Agent (in awstats: %ua)
Referer (in awstats: %referer)

Update: Looking at the logs of a few sites, I did this optimization on, noticed how the logs were more then 50% smaller. Nice!
This not only saves disk space but also make Awstats run faster (the CPU of my Awstats server is a few percentage points lower)... Nice!