Commit 4c4beb4e authored by Łukasz Nowak's avatar Łukasz Nowak

- log slow queries in predictable place


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34628 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8d71a8c2
......@@ -14,6 +14,8 @@ mysql_pid = ${:mysql_datadir}/mysql.pid
mysql_sock = ${:mysql_datadir}/mysql.sock
mysql_error_log = ${buildout:log-directory}/mysql.err.log
mysql_cnf_file = ${buildout:etc-directory}/my.cnf
mysql_slow_query_log = ${buildout:log-directory}/mysql.slow.log
mysql_slow_query_time = 5
[mysql-cnf]
recipe = collective.recipe.template
......
......@@ -19,6 +19,8 @@ socket = ${configuration:mysql_sock}
datadir = ${configuration:mysql_datadir}
pid-file = ${configuration:mysql_pid}
log-error = ${configuration:mysql_error_log}
log-slow-queries = ${configuration:mysql_slow_query_log}
long_query_time = ${configuration:mysql_slow_query_time}
skip-locking
key_buffer = 384M
max_allowed_packet = 128M
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment