We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please answer these questions before submitting your issue. Thanks! 一、问题描述:
二、问题复现: 1、通过tiup cluster edit-config xxx修改慢日志文件名 server_configs: tidb: log.slow-query-file: /tidb-deploy/tidb-4000/log/testslow.log
2、reload集群:tiup cluster reload xxx
3、查看慢日志路径,对应的值是/tidb-deploy/tidb-4000/log/tidb_slow_query.log,并没有被改成testslow.log show config where name like '%slow%';
4、如果将/tidb-deploy/deploy/tidb-4000/scripts/run_tidb.sh中slow-log的配置删除掉,然后重启restart集群,可以生成新路径的slowlog;但如果执行reload操作,又会被还原成/tidb-deploy/tidb-4000/log/testslow.log路径
期望结果: 希望能正常修改慢日志路径。
tidb v8.1.0
The text was updated successfully, but these errors were encountered:
This is not a TiDB bug, we should report a bug to tiup https://github.com/pingcap/tiup/issues/new?assignees=&labels=type%2Fbug&projects=&template=bug-report.md
Sorry, something went wrong.
I create a new one and close this one pingcap/tiup#2428
No branches or pull requests
Bug Report
Please answer these questions before submitting your issue. Thanks!
一、问题描述:
1. Minimal reproduce step (Required)
二、问题复现:
1、通过tiup cluster edit-config xxx修改慢日志文件名
server_configs:
tidb:
log.slow-query-file: /tidb-deploy/tidb-4000/log/testslow.log
2、reload集群:tiup cluster reload xxx
3、查看慢日志路径,对应的值是/tidb-deploy/tidb-4000/log/tidb_slow_query.log,并没有被改成testslow.log
show config where name like '%slow%';
4、如果将/tidb-deploy/deploy/tidb-4000/scripts/run_tidb.sh中slow-log的配置删除掉,然后重启restart集群,可以生成新路径的slowlog;但如果执行reload操作,又会被还原成/tidb-deploy/tidb-4000/log/testslow.log路径
2. What did you expect to see? (Required)
期望结果:
希望能正常修改慢日志路径。
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
tidb v8.1.0
The text was updated successfully, but these errors were encountered: