Note: this component is designated "advanced", which means that objects of this type are not expected to be created or altered in most environments. If you believe that such a change is necessary, you may want to contact support in order to understand the potential impact of that change.
Note: this is an abstract component that cannot be instantiated.
Log File Rotation Listeners allow the server to take some action whenever a log file is rotated out of service so that the server will start writing to a new file. Log File Rotation Listeners must not delete, move, rename, or otherwise alter rotated log files in any way.
The following Log File Rotation Listeners are available in the server :
These Log File Rotation Listeners inherit from the properties described below.
The following components have a direct aggregation relation to Log File Rotation Listeners:
The properties supported by this managed object are as follows:
Basic Properties: | Advanced Properties: |
---|---|
description | None |
enabled |
Description | A description for this Log File Rotation Listener |
Default Value | None |
Allowed Values | A string |
Multi-Valued | No |
Required | No |
Admin Action Required | None. Modification requires no further action |
Description | Indicates whether the Log File Rotation Listener is enabled for use. |
Default Value | None |
Allowed Values | true false |
Multi-Valued | No |
Required | Yes |
Admin Action Required | None. Modification requires no further action |
To list the configured Log File Rotation Listeners:
dsconfig list-log-file-rotation-listeners [--property {propertyName}] ...
To view the configuration for an existing Log File Rotation Listener:
dsconfig get-log-file-rotation-listener-prop --listener-name {name} [--tab-delimited] [--script-friendly] [--property {propertyName}] ...
To update the configuration for an existing Log File Rotation Listener:
dsconfig set-log-file-rotation-listener-prop --listener-name {name} (--set|--add|--remove) {propertyName}:{propertyValue} [(--set|--add|--remove) {propertyName}:{propertyValue}] ...
To delete an existing Log File Rotation Listener:
dsconfig delete-log-file-rotation-listener --listener-name {name}