How to change Recent request size in aem?


HOW TO CHANGE RECENT REQUEST SIZE IN AEM?

The “Recent Requests” tool shows information that is gathered by the Sling Engine for each individual request that is made to Sling.  When a page renders – externally there is a single HTTP request that is handled by Sling. But Recent Requests tool can be display only 20 request at a time. The issue is that the maximum of 20 requests is frequently not enough to capture – say a form post.  Twenty requests basically showed all of the image requests, but none of the form field requests.

How to increase the maximum size of “Recent Requests”?

Navigate system/console/configMgr and find Apache Sling Main Servlet

By default Number of Requests to Record size is 20, you can change it to 200.

Be ensure that you should update pattern for Recorded Request Path Patterns as /.*.

Save the configurations and hit the page and check your requests. You will be wonder.

image1

Before changing Recent Requests size (default is 20):

image2

After changing the default size from 20 to 200:
image3

Keep visiting for more posts 🙂

Thanks for reading @techroomweb.

Leave a comment

search previous next tag category expand menu location phone mail time cart zoom edit close