mariadb: Aktiviere slowlog in der globalen Konfigurationsdatei
This commit is contained in:
parent
415a6055e8
commit
10da0a723e
6 changed files with 21 additions and 23 deletions
11
templates/90-sao.cnf.j2
Normal file
11
templates/90-sao.cnf.j2
Normal file
|
@ -0,0 +1,11 @@
|
|||
# {{ ansible_managed }}
|
||||
|
||||
[mysqld]
|
||||
bind_address={{ mariadb.bind_address|default("127.0.0.1") }}
|
||||
|
||||
# Slow-Log
|
||||
slow_query_log = 1
|
||||
slow_query_log_file = /var/log/mysql/mariadb-slow.log
|
||||
long_query_time = 10
|
||||
log_slow_rate_limit = 1000
|
||||
log_slow_verbosity = query_plan
|
Loading…
Add table
Add a link
Reference in a new issue