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