Directory Services 7.4.3

File Count Log Retention Policy

Retention policy based on the number of rotated log files on disk.

Parent

The File Count Log Retention Policy object inherits from Log Retention Policy.

File Count Log Retention Policy properties

You can use configuration expressions to set property values at startup time. For details, see Property value substitution.

Basic Properties Advanced Properties

number-of-files

java-class

Basic properties

Use the --advanced option to access advanced properties.

number-of-files

Synopsis

Specifies the number of archived log files to retain before the oldest ones are cleaned.

Default value

None

Allowed values

An integer.

Lower limit: 1.

Multi-valued

No

Required

Yes

Admin action required

None

Advanced

No

Read-only

No

Advanced properties

Use the --advanced option to access advanced properties.

java-class

Synopsis

Specifies the fully-qualified name of the Java class that provides the File Count Log Retention Policy implementation.

Default value

org.opends.server.loggers.FileNumberRetentionPolicy

Allowed values

A Java class that extends or implements:

  • org.opends.server.loggers.RetentionPolicy

Multi-valued

No

Required

Yes

Admin action required

None

Advanced

Yes

Read-only

No