Time Limit Log Rotation Policy

Rotation policy based on the time since last rotation.

Parent Component Properties dsconfig Usage

Parent Component

The Time Limit Log Rotation Policy component inherits from the Log Rotation Policy

Properties

The properties supported by this managed object are as follows:


Basic Properties: Advanced Properties:
 description  None
 rotation-interval

Basic Properties

description

Description
A description for this Log Rotation Policy
Default Value
None
Allowed Values
A string
Multi-Valued
No
Required
No
Admin Action Required
None. Modification requires no further action

rotation-interval

Description
Specifies the time interval between rotations.
Default Value
None
Allowed Values
A duration. Lower limit is 1 milliseconds.
Multi-Valued
No
Required
Yes
Admin Action Required
None. Modification requires no further action


dsconfig Usage

To list the configured Log Rotation Policies:

dsconfig list-log-rotation-policies
     [--property {propertyName}] ...

To view the configuration for an existing Log Rotation Policy:

dsconfig get-log-rotation-policy-prop
     --policy-name {name}
     [--tab-delimited]
     [--script-friendly]
     [--property {propertyName}] ...

To update the configuration for an existing Log Rotation Policy:

dsconfig set-log-rotation-policy-prop
     --policy-name {name}
     (--set|--add|--remove) {propertyName}:{propertyValue}
     [(--set|--add|--remove) {propertyName}:{propertyValue}] ...

To create a new Time Limit Log Rotation Policy:

dsconfig create-log-rotation-policy
     --policy-name {name}
     --type time-limit
     --set rotation-interval:{propertyValue}
     [--set {propertyName}:{propertyValue}] ...

To delete an existing Log Rotation Policy:

dsconfig delete-log-rotation-policy
     --policy-name {name}