IIS 7 and Above
IIS 10.0 Log File Rollover
Last post Nov 28, 2017 02:33 PM by firstname.lastname@example.org
Nov 27, 2017 04:35 PMemail@example.com|LINK
We have been using Advanced Logging 1.0 module; and will have to switch to Enhanced Logging when we move to IIS 10.0 since Microsoft has stated that Advanced Logging 1.0 is no longer supported in IIS 10.0. Our website is a very active retail site and one
of the key features of Advanced Logging 1.0 is the log file rollover maximum duration in seconds. We are able to setup and roll logs 10 x per hour (every 360 seconds or 6 minutes) This allows us to process our logs over to our data warehouse and have them
processed by Business Intelligence much more frequently and provide us with closer to real-time data to the Business.
Unfortunately it does not appear that Enhanced logging supports anything more granular than 1 hour; which is a large gap for us.
1) Is there a plan to introduce the more granular logging (by seconds) into Enhanced Logging?
2) Is there an alternative that would give us the granularity that we are looking for that Microsoft can recommend?
3) Does anyone else have solutions to get our IIS logging over to Business Intelligence on an as close to real-time as possible?
Input would be helpful; as we are currently holding on 2012r2 IIS 8.5 until we have a viable solution.
Nov 27, 2017 07:35 PM|Rovastar|LINK
What about by size - every 10MB or something?
Nov 27, 2017 08:40 PMfirstname.lastname@example.org|LINK
Thanks for the thought.
We looked at that; but it doesn't work for us; as all servers get health checked and generate logs even when out of service. And I have yet to find a load balancer that truly balances the number of requests and log entries to a server spot on even. On top
of that a "Sticky Sessions" to a server will always have the potential of different amount of log entries and that causes servers rolling logs at different time. Which is why we liked the 6 minute model. It will be a step back to go to 1 hour.
Nov 28, 2017 08:45 AM|Yuk Ding|LINK
I think you could still try the IIS advanced logging in IIS 10 even it could report require IIS 7 and above version when you were trying to install the advanced logging. Then you could open registry and go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp
to 7. Then you could still install advanced log in IIS 10.
Nov 28, 2017 02:33 PMemail@example.com|LINK
Hi Yuk Ding,
We have applied the registry key to Windows10 developer workstations to continue working with Advance Logging wile we are on 2012r2. Because Microsoft no longer supports the Advanced Logging going forward with IIS 10.0 it is not a wise decision or one that
we are willing to risk by implementing a deprecated and unsupported technology for a multi-million dollar retail production web-site. At any point an update could break something in Advanced Logging and then we are in a different situation with no update
to keep running and no support until we fix it.
I'm happy to make a request of the product team for the additional granularity if someone can point me to the proper place to make it. (In my opinion there are way to many places to make requests these days and its confusing)