Note: this is an abstract component that cannot be instantiated.
Log Rotation Policies are used to specify when log files should be rotated.
↓Direct Subcomponents
↓Relations From this Component
↓Properties
↓dsconfig Usage
The following Log Rotation Policies are available in the server :
These Log Rotation Policies inherit from the properties described below.
The following components have a direct aggregation relation to Log Rotation Policies:
The properties supported by this managed object are as follows:
Basic Properties: | Advanced Properties: |
---|---|
↓ description | None |
↓ java-class |
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 |
Description | Specifies the fully-qualified name of the Java class that provides the Log Rotation Policy implementation. |
Default Value | None |
Allowed Values | The fully-qualified name of a Java class that extends or implements com.unboundid.directory.server.loggers.RotationPolicy |
Multi-Valued | No |
Required | Yes |
Admin Action Required | None. Modification requires no further action |
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 delete an existing Log Rotation Policy:
dsconfig delete-log-rotation-policy --policy-name {name}