Is there a size limit for TiDB's slow logs, such as not recording slow SQL if it exceeds a certain value?

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

Original topic: TIDB的慢日志是否有限制大小 比如超过某个值就不记录慢SQL了?

| username: TiDBer_NmTItlqd

【TiDB Usage Environment】Production Environment / Testing / PoC

【TiDB Version】
【Reproduction Path】What operations were performed when the issue occurred
【Encountered Issue: Issue Phenomenon and Impact】
【Resource Configuration】
【Attachments: Screenshots/Logs/Monitoring】

| username: WalterWj | Original post link

No, but there is an SQL length limit, and it will be truncated if exceeded.

| username: Kongdom | Original post link

Are you referring to this?