ChannelMessageLoggingConfig

@Serializable
data class ChannelMessageLoggingConfig(val enabled: Boolean = true, val retentionDays: Int = 30, val maxFileSizeMB: Int = 100)(source)

Configuration for channel message logging feature.

Enables file-based logging of all channel messages in NDJSON format, compatible with log aggregation systems like Grafana Loki.

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, retentionDays: Int = 30, maxFileSizeMB: Int = 100)

Properties

Link copied to clipboard

Whether message logging is enabled

Link copied to clipboard

Maximum size of a single log file in megabytes

Link copied to clipboard

Number of days to retain log files (0 = keep forever)