The default location for the IIS logs is at C:\WINDOWS\system32\LogFiles\W3SVC1.
Troubleshooting IIS logs can be arduous because of their sheer size. Every single Web transaction is recorded in the logs. The following items can assist in using IIS Logs when aiding troubleshooting.
This is an excerpt from an IIS log on a Notification Server:
2005-04-11 19:38:05 172.17.31.169 GET /ALTIRIS/NS/Agent/GetClientPolicies.aspx xml=%3CRequest%20configVersion=%222%22%3E%3CWrkstaGuid%3E%7BEDE45177-50D9-4851-9734-8B01BDC13A85%7D%3C%2FWrkstaGuid%3E%3C%2FRequest%3E&compress=1&hash=E43F52BD231649825F42180ED0099CFF 80 - 172.17.31.169 - 200 0 02005-04-11 19:38:05 172.17.31.169 GET /ALTIRIS/NS/Agent/GetPackageInfo.aspx xml=%3Crequest%20resource=%22%7BEDE45177-50D9-4851-9734-8B01BDC13A85%7D%22%20version=%221%22%20type=%22codebases%22%20compress=%221%22%20totalTime=%220%22%3E%0A%3Cpackages%3E%0A%09%3Cpackage%20guid=%22%7B8661D7F2-039B-4418-9A0A-70A9C7445F9C%7D%22%2F%3E%0A%3C%2Fpackages%3E%0A%3Caddresses%3E%0A%09%3Caddress%20ip=%22172.17.31.169%22%2F%3E%0A%3C%2Faddresses%3E%0A%3C%2Frequest%3E%0A 80 - 172.17.31.169 - 200 0 02005-04-11 19:38:05 172.17.31.169 GET /ALTIRIS/NS/Agent/GetPackageInfo.aspx xml=%3Crequest%20resource=%22%7BEDE45177-50D9-4851-9734-8B01BDC13A85%7D%22%20version=%221%22%20type=%22codebases%22%20compress=%221%22%20totalTime=%220%22%3E%0A%3Cpackages%3E%0A%09%3Cpackage%20guid=%22%7B8661D7F2-039B-4418-9A0A-70A9C7445F9C%7D%22%2F%3E%0A%3C%2Fpackages%3E%0A%3Caddresses%3E%0A%09%3Caddress%20ip=%22172.17.31.169%22%2F%3E%0A%3C%2Faddresses%3E%0A%3C%2Frequest%3E%0A 80 - 172.17.31.169 - 200 0 02005-04-11 19:38:06 172.17.31.169 GET /altiris/ns/agent/getpackagesnapshot.aspx PackageId=%7B8661D7F2-039B-4418-9A0A-70A9C7445F9C%7D&compress=1 80 - 172.17.31.169 - 200 0 02005-04-11 19:38:06 172.17.31.169 GET /Altiris/NS/NSCap/Bin/Win32/X86/HelloWorld/HelloSample.exe - 80 - 172.17.31.169 - 200 0 02005-04-11 19:38:07 172.17.31.169 POST /ALTIRIS/NS/Agent/PostEvent.asp - 80 - 172.17.31.169 - 200 0 02005-04-11 19:38:09 172.17.31.169 POST /ALTIRIS/NS/Agent/PostEvent.asp - 80 - 172.17.31.169 - 200 0 0
At a glance this appears to be very difficult to read. Not only this, but the sheer size of the IIS log can be daunting. The following tips will help you in utilizing this log in the troubleshooting process:
Example Problem: An Agent is not receiving its client policy XML when requested from the server. Steps to troubleshoot:
2005-04-11 19:38:05 172.17.31.169 GET /ALTIRIS/NS/Agent/GetClientPolicies.aspx xml=%3CRequest%20configVersion=%222%22%3E%3CWrkstaGuid%3E%7BEDE45177-50D9-4851-9734-8B01BDC13A85%7D%3C%2FWrkstaGuid%3E%3C%2FRequest%3E&compress=1&hash=E43F52BD231649825F42180ED0099CFF 80 - 172.17.31.169 - 200 0 0
http://servername/ALTIRIS/NS/Agent/GetClientPolicies.aspx?xml=%3CRequest%20configVersion=%222%22%3E%3CWrkstaGuid%3E%7BEDE45177-50D9-4851-9734-8B01BDC13A85%7D%3C%2FWrkstaGuid%3E%3C%2FRequest%3E&compress=1&hash=E43F52BD231649825F42180ED0099CFF