Skip to main content
Version: v0.38 Stable

logging

The logging key configures log encoding and log file output. For how to configure it, see Logging.

logging object ​

Logging provides structured logging options

encoding string console ​

Encoding specifies the format of vCluster logs, it can either be json or console.

file object ​

File configures additive file logging for the vCluster control plane.

enabled boolean false ​

Enabled controls whether vCluster logs are also written to a file. The path is fixed at /var/log/vcluster/vcluster.log, and its directory is backed by the vcluster-logs volume, which sidecarContainers can mount to read the logs. Log rotation keeps a 100Mi active file plus five uncompressed backups, so the volume never grows beyond roughly 600Mi.