SPWebApplication.ChangeLogExpirationEnabled property
SharePoint 2013
Gets or sets a value specifying whether change logs are deleted after the time span defined in the ChangeLogRetentionPeriod property.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: System.Booleantrue if change logs are deleted after the time span defined in the ChangeLogRetentionPeriod property; otherwise, false. The default value is true.