Skip to main content

Module file_retention

Module file_retention 

Source
Expand description

File-log retention based on the total size of managed log files.

Structsยง

DirectoryRetention ๐Ÿ”’
Retains managed file logs within configured directory-size and file-count limits.
FileIndex ๐Ÿ”’
LogFile ๐Ÿ”’
RetentionAppender ๐Ÿ”’
A [RollingFileAppender] with shared directory-size retention.
RetentionState ๐Ÿ”’

Enumsยง

LogFileKind ๐Ÿ”’
A managed file-log kind.

Functionsยง

build_file_appender ๐Ÿ”’
Builds the existing hourly appender, optionally wrapped with retention.