Configure the Application Log Size

Scenario/Problem: You need to modify the application log size for Access Services.

Solution: Use the ApplicationLogSize parameter with the Set-SPAccessService Application cmdlet.

The ApplicationLogSize parameter determines the maximum number of records that Access Services should log. A -1 entry means unlimited, and 0 means none. The maximum entry is the maximum integer size (which varies by environment). The default is 3,000 records. Listing 23.1 shows a sample modification of the application log size.

Listing 23.1. Setting the Application Log Size

Set-SPAccessServiceApplication -Identity "Access Services"-ApplicationLogSize 5000

Tip

The default identity of the Access Service application is “Access Services.” ...

Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.