Fixed Time Log Rotation Policy

Rotation policy based on a fixed time of day.

Parent Component Properties dsconfig Usage

Parent Component

The Fixed Time 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
 time-of-day

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

time-of-day

Description
Specifies the time of day at which log rotation should occur.
Default Value
None
Allowed Values
24 hour time of day in HHmm format.
Multi-Valued
Yes
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 Fixed Time Log Rotation Policy:

dsconfig create-log-rotation-policy
     --policy-name {name}
     --type fixed-time
     --set time-of-day:{propertyValue}
     [--set {propertyName}:{propertyValue}] ...

To delete an existing Log Rotation Policy:

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