create-log-rotation-policy
Creates Log Rotation Policies.
In addition to the global dsconfig
options, the dsconfig create-log-rotation-policy
subcommand takes the following options:
--policy-name {name}
-
The name of the new Log Rotation Policy.
--set {PROP:VALUE}
-
Assigns a value to a property where PROP is the name of the property and VALUE is the single value to be assigned. Specify the same property multiple times in order to assign more than one value to it.
-t | --type {type}
-
The type of Log Rotation Policy which should be created. The value for TYPE can be one of: custom | fixed-time | size-limit | time-limit.
Properties used in options depend on the type of object to configure.
For details about available properties, see Log Rotation Policy.