RotationConfiguration

Configuration for log file rotation.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Enable compression of rotated files

Link copied to clipboard

Compression level (0-9)

Link copied to clipboard
Link copied to clipboard

Maximum number of files to keep

Link copied to clipboard

Maximum file size in bytes for size-based rotation (default: 100MB)

Link copied to clipboard

Maximum number of days to keep history

Link copied to clipboard

Rotation policy type: TIME, SIZE, COMPOSITE

Link copied to clipboard

Time pattern for time-based rotation: HOURLY, DAILY, WEEKLY, MONTHLY

Link copied to clipboard

Total size cap in bytes (default: 10GB)

Functions

Link copied to clipboard