The Never Delete Log Retention Policy is a log retention policy that will never cause old log files to be removed. It should be used with caution, as it can allow log files to accumulate without bound and fill up all available disk space.
The Never Delete Log Retention Policy component inherits from the Log Retention Policy
The properties supported by this managed object are as follows:
Basic Properties: | Advanced Properties: |
---|---|
description | None |
To list the configured Log Retention Policies:
dsconfig list-log-retention-policies [--property {propertyName}] ...
To view the configuration for an existing Log Retention Policy:
dsconfig get-log-retention-policy-prop --policy-name {name} [--tab-delimited] [--script-friendly] [--property {propertyName}] ...
To update the configuration for an existing Log Retention Policy:
dsconfig set-log-retention-policy-prop --policy-name {name} (--set|--add|--remove) {propertyName}:{propertyValue} [(--set|--add|--remove) {propertyName}:{propertyValue}] ...
To create a new Never Delete Log Retention Policy:
dsconfig create-log-retention-policy --policy-name {name} --type never-delete [--set {propertyName}:{propertyValue}] ...
To delete an existing Log Retention Policy:
dsconfig delete-log-retention-policy --policy-name {name}