Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

Change-log-retention-period: Stsadm property (Office SharePoint Server)

SharePoint 2007

Applies To: Office SharePoint Server 2007

Description

Specifies the amount of time to preserve the change logs.

This property is equivalent to the Change Log user interface setting that is located on the Web Application General Settings page of the SharePoint Central Administration Web site.

Syntax

stsadm -o setproperty

   -propertyname change-log-retention-period

   -propertyvalue {Numeric value in days}

   [-url] <http://server_name>

The syntax for the getproperty operation is:

stsadm -o getproperty

   propertyname change-log-retention-period

   [-url] <http://server_name>

NoteNote:

You can substitute -pn for -propertyname and -pv for -propertyvalue.

Property values

The following table shows possible values.

Name Value

propertyname

Gets or sets the name of the property.

propertyvalue

Number of days to retain entries in the change log. The default value is 15 days.

url

Typically, a path to the URL of the Web application, in the form http://server_name.

Examples

To set the number of days to the change log to 21 days, use the following syntax:

stsadm -o setproperty -pn change-log-retention-period -pv 21

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.