Skip to content

Commit

Permalink
Fix the issue that slow log position not change with LogDir
Browse files Browse the repository at this point in the history
Fix #1440
  • Loading branch information
lucklove committed Jun 22, 2021
1 parent 2bba748 commit b582367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embed/templates/scripts/run_tidb.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ exec env GODEBUG=madvdontneed=1 bin/tidb-server \
--advertise-address="{{.AdvertiseAddr}}" \
--store="tikv" \
--path="{{template "PDList" .Endpoints}}" \
--log-slow-query="log/tidb_slow_query.log" \
--log-slow-query="{{.LogDir}}/tidb_slow_query.log" \
--config=conf/tidb.toml \
--log-file="{{.LogDir}}/tidb.log" 2>> "{{.LogDir}}/tidb_stderr.log"

0 comments on commit b582367

Please sign in to comment.