Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
Adjust slow query configure (#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
superlzs0476 authored and superlzs0476 committed Apr 26, 2019
1 parent d6a0d17 commit bb61dbc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions inventory.ini
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@ kafka_addrs = ""
# zookeeper_addrs = "192.168.0.11:2181,192.168.0.12:2181,192.168.0.13:2181"
zookeeper_addrs = ""

# store slow query log into seperate file
enable_slow_query_log = False

# enable TLS authentication in the TiDB cluster
enable_tls = False

Expand Down
2 changes: 0 additions & 2 deletions roles/tidb/templates/run_tidb_binary.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,5 @@ exec bin/tidb-server \
{% if enable_binlog|default(false) %}
--enable-binlog \
{% endif %}
{% if enable_slow_query_log %}
--log-slow-query="{{ tidb_log_dir }}/{{ tidb_slow_query_filename }}" \
{% endif %}
--log-file="{{ tidb_log_dir }}/{{ tidb_log_filename }}" 2>> "{{ tidb_log_dir }}/{{ tidb_stderr_filename }}"

0 comments on commit bb61dbc

Please sign in to comment.