Does the flash.proxy log in TiFlash lack an automatic cleanup mechanism?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tiflash 的flash.proxy 日志是不是没有自动清理机制?

| username: Raymond

May I ask if there is no automatic cleanup mechanism for the historical logs of flash.proxy in the tiflash component, specifically the logs in /tidb-deploy/tiflash-9000/log/tiflash_tikv.log?
I didn’t see it mentioned in the documentation.

| username: tidb菜鸟一只 | Original post link

It’s the same as TiKV, just set these few: TiKV 配置文件描述 | PingCAP 文档中心
MAX-backups
MAX-days
MAX-size

| username: WinterLiu | Original post link

If not set, there should be default values, otherwise the logs would fill up the disk.

| username: kelvin | Original post link

There should be. Check the official documentation.

| username: Raymond | Original post link

Okay, thank you.

| username: redgame | Original post link

Yes, otherwise it will explode.

| username: TiDBer_aaO4sU46 | Original post link

Yes, there is.

| username: 这里介绍不了我 | Original post link

Obviously, there is.

| username: zhaokede | Original post link

There definitely is.

| username: zhang_2023 | Original post link

Yes, there is.

| username: Daniel-W | Original post link

The default seems to reserve 1G.

| username: kelvin | Original post link

Definitely.

| username: TiDBer_rvITcue9 | Original post link

What are the parameters?