Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 慢日志可以设置成一天一个文件吗?
Can the slow log in TiDB 5.4.0 be set to one file per day? Like MySQL, can it be customized for splitting?
To improve efficiency, please provide the following information. Clear problem descriptions can be resolved faster:
【TiDB Usage Environment】
【Overview】 Scenario + Problem Overview
【Background】 What operations have been done
【Phenomenon】 Business and database phenomena
【Problem】 Current issues encountered
【Business Impact】
【TiDB Version】
【Application Software and Version】
【Attachments】 Relevant logs and configuration information
- TiUP Cluster Display Information
- TiUP Cluster Edit config Information
Monitoring (https://metricstool.pingcap.com/)
- TiDB-Overview Grafana Monitoring
- TiDB Grafana Monitoring
- TiKV Grafana Monitoring
- PD Grafana Monitoring
- Corresponding module logs (including logs 1 hour before and after the issue)
If the question is related to performance optimization or troubleshooting, please download the script and run it. Please select all and copy-paste the terminal output results for upload.