enable-telemetry = false

[log.file]
# Limit the total size of slowlog
max-backups = 3

## enable-sem will be set in the provider and is not valid to change here
## https://github.com/tidbcloud/aws-shared-provider/blob/47072ac13be66ccccfec9557e185a69d9af43007/pkg/controllers/cluster/cluster_creation.go#L848
## https://github.com/tidbcloud/infra-api/blob/a1f7a93320c9b42aaf82a0098b9dbb0e6341d6cf/controllers/cluster/cluster_creation.go#L474
## [security]
## enable-sem = true

[instance]
# Enable statements persistence so that we can collect and analyze statements log outside the data plane.
# See: https://docs.pingcap.com/tidb/dev/statement-summary-tables#persist-statements-summary
tidb_stmt_summary_enable_persistent = true
tidb_stmt_summary_filename = "/var/log/auditlog/tidb-statements.log"
tidb_stmt_summary_file_max_days = 1
tidb_stmt_summary_file_max_size = 64 # MiB
tidb_stmt_summary_file_max_backups = 5
