Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 如何修改 tidb 配置文件 调整日志级别
[TiDB Usage Environment] Production
[TiDB Version] 6.5.2
[Reproduction Path]
[Encountered Problem: Phenomenon and Impact] Using tiup cluster edit-config tidb-test
to modify the configuration file and add log: error
. The modification failed.
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]
Configuration file content
There are issues with both the location and method of your configuration.
Refer to the following two methods:

tidb_servers:
- host: 10.0.1.1
config:
log.level: error
Teacher, after modifying it according to this method, this error appears. What is the reason?
Teacher, after modifying according to this method, this error occurred. What is the reason?
Where is the configuration file for tiup playground?
Teacher, how do I check this?
At this point, you can confirm by pressing “Y+Enter”.
Okay, thank you, teacher. The mechanical disk performance of this terminal is too poor. It just got stuck and automatically hit enter. I thought something went wrong.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.