Skip to content

Commit

Permalink
Fix the issue that slow log position not change with LogDir (#1441)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucklove authored Jun 22, 2021
1 parent 2bba748 commit 857162f
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 857162f

Please sign in to comment.