In this article we’ll discuss How to enable Application Pool recycle logging in IIS and where to find the resulting logs history. By default, IIS do not log all the events so we need to instruct it so that all the recycling event information can be logged and traced if required while doing troubleshooting.

App Pool recycles will only trigger for active Worker process. If no one is using the application, then due to inactivity no worker process will be active, and App Pool recycles will not trigger and no logs can be seen in event viewer.

Steps to Enable Application Pool recycle logging

  • Open IIS Manager and expand the server’s name then Application Pools. List of application pool will be visible to you.
How to enable Application Pool recycle logging
  • Right Click the application pool for which you want to enable the recycle logging, now click the “Advanced Settings“.
  • Next, expand “Generate Recycle Event Log Entry” then set the desired child nodes to True, then click OK.  
How to enable Application Pool recycle logging

How to check app pool recycle history:

Now to check Application Pool recycle events logs in event viewer, simply open the Event Viewer and click on the standard System event log.

In my case I just cleared the event logs manually and then recycle the desired application pool. After this I was able to see the event entry shown below:

How to enable Application Pool recycle logging

A lot more event entries will be there in event logs. To view only Application Pool “recycle events” you can add a filter to see required event only. Hence using the above steps, you can enable Application Pool recycle logging and can view app pool recycle history logs.

I hope with the end of this article you got the understanding on “How to enable Application Pool recycle logging” and “How to check app pool recycle history“.

You can check more on IIS in our IIS Section. You can also check more concepts of IIS on Microsoft Learn too.

Comments are closed.

Explore More

How to enable 32-bit applications on IIS

In this article we’ll explain you ‘How to enable 32-bit applications on IIS’ with an example. Let’s check how to enable 32-bit applications in ‘Application Pool’ of IIS Server. Basically

How to check App pool is 32 bit or 64 bit

In this article we’ll discuss about how to check App pool is 32 bit or 64 bit using command. 32-bit app pool is used to run 32-bit only application whereas

How to find Worker Process and PID in App Pool

In this article we’ll learn “How to find Worker Process and PID in App Pool”. When we have to analyze resource utilization at that moment PID helps us. Using Task