dsconfig get-log-rotation-policy-prop — Shows Log Rotation Policy properties
dsconfig get-log-rotation-policy-prop
{options}
The dsconfig get-log-rotation-policy-prop command takes the following options:
--policy-name {name}
The name of the Log Rotation Policy.
Log Rotation Policy properties depend on the Log Rotation Policy type, which depends on the {name} you provide.
By default, OpenDJ directory server supports the following Log Rotation Policy types:
Default {name}: Fixed Time Log Rotation Policy
Enabled by default: false
See the section called “Fixed Time Log Rotation Policy” for the properties of this Log Rotation Policy type.
Default {name}: Size Limit Log Rotation Policy
Enabled by default: false
See the section called “Size Limit Log Rotation Policy” for the properties of this Log Rotation Policy type.
Default {name}: Time Limit Log Rotation Policy
Enabled by default: false
See the section called “Time Limit Log Rotation Policy” for the properties of this Log Rotation Policy type.
--property {property}
The name of a property to be displayed.
Log Rotation Policy properties depend on the Log Rotation Policy type, which depends on the {property} you provide.
By default, OpenDJ directory server supports the following Log Rotation Policy types:
Default {property}: Fixed Time Log Rotation Policy
Enabled by default: false
See the section called “Fixed Time Log Rotation Policy” for the properties of this Log Rotation Policy type.
Default {property}: Size Limit Log Rotation Policy
Enabled by default: false
See the section called “Size Limit Log Rotation Policy” for the properties of this Log Rotation Policy type.
Default {property}: Time Limit Log Rotation Policy
Enabled by default: false
See the section called “Time Limit Log Rotation Policy” for the properties of this Log Rotation Policy type.
-E | --record
Modifies the display output to show one property value per line.
Log Rotation Policy properties depend on the Log Rotation Policy type, which depends on the null you provide.
By default, OpenDJ directory server supports the following Log Rotation Policy types:
Default null: Fixed Time Log Rotation Policy
Enabled by default: false
See the section called “Fixed Time Log Rotation Policy” for the properties of this Log Rotation Policy type.
Default null: Size Limit Log Rotation Policy
Enabled by default: false
See the section called “Size Limit Log Rotation Policy” for the properties of this Log Rotation Policy type.
Default null: Time Limit Log Rotation Policy
Enabled by default: false
See the section called “Time Limit Log Rotation Policy” for the properties of this Log Rotation Policy type.
-z | --unit-size {unit}
Display size data using the specified unit. The value for UNIT can be one of b, kb, mb, gb, or tb (bytes, kilobytes, megabytes, gigabytes, or terabytes).
Log Rotation Policy properties depend on the Log Rotation Policy type, which depends on the {unit} you provide.
By default, OpenDJ directory server supports the following Log Rotation Policy types:
Default {unit}: Fixed Time Log Rotation Policy
Enabled by default: false
See the section called “Fixed Time Log Rotation Policy” for the properties of this Log Rotation Policy type.
Default {unit}: Size Limit Log Rotation Policy
Enabled by default: false
See the section called “Size Limit Log Rotation Policy” for the properties of this Log Rotation Policy type.
Default {unit}: Time Limit Log Rotation Policy
Enabled by default: false
See the section called “Time Limit Log Rotation Policy” for the properties of this Log Rotation Policy type.
-m | --unit-time {unit}
Display time data using the specified unit. The value for UNIT can be one of ms, s, m, h, d, or w (milliseconds, seconds, minutes, hours, days, or weeks).
Log Rotation Policy properties depend on the Log Rotation Policy type, which depends on the {unit} you provide.
By default, OpenDJ directory server supports the following Log Rotation Policy types:
Default {unit}: Fixed Time Log Rotation Policy
Enabled by default: false
See the section called “Fixed Time Log Rotation Policy” for the properties of this Log Rotation Policy type.
Default {unit}: Size Limit Log Rotation Policy
Enabled by default: false
See the section called “Size Limit Log Rotation Policy” for the properties of this Log Rotation Policy type.
Default {unit}: Time Limit Log Rotation Policy
Enabled by default: false
See the section called “Time Limit Log Rotation Policy” for the properties of this Log Rotation Policy type.
Log Rotation Policies of type fixed-time-log-rotation-policy have the following properties:
Specifies the fully-qualified name of the Java class that provides the Fixed Time Log Rotation Policy implementation.
org.opends.server.loggers.FixedTimeRotationPolicy
A Java class that implements or extends the class(es): org.opends.server.loggers.RotationPolicy
No
Yes
None
Yes (Use --advanced in interactive mode.)
No
Specifies the time of day at which log rotation should occur.
None
24 hour time of day in HHmm format.
Yes
Yes
None
No
No
Log Rotation Policies of type size-limit-log-rotation-policy have the following properties:
Specifies the maximum size that a log file can reach before it is rotated.
None
Lower value is 1.
No
Yes
None
No
No
Specifies the fully-qualified name of the Java class that provides the Size Limit Log Rotation Policy implementation.
org.opends.server.loggers.SizeBasedRotationPolicy
A Java class that implements or extends the class(es): org.opends.server.loggers.RotationPolicy
No
Yes
None
Yes (Use --advanced in interactive mode.)
No
Log Rotation Policies of type time-limit-log-rotation-policy have the following properties:
Specifies the fully-qualified name of the Java class that provides the Time Limit Log Rotation Policy implementation.
org.opends.server.loggers.TimeLimitRotationPolicy
A Java class that implements or extends the class(es): org.opends.server.loggers.RotationPolicy
No
Yes
None
Yes (Use --advanced in interactive mode.)
No
Specifies the time interval between rotations.
None
Some property values take a time duration.
Durations are expressed as numbers followed by units.
For example 1 s
means one second,
and 2 w
means two weeks.
Some durations have minimum granularity or maximum units,
so you cannot necessary specify every duration
in milliseconds or weeks for example.
Some durations allow you to use a special value to mean unlimited.
Units are specified as follows.
ms
: milliseconds
s
: seconds
m
: minutes
h
: hours
d
: days
w
: weeks
Lower limit is 1 milliseconds.
No
Yes
None
No
No