Merge "Parameterize galera slow/unindexed logging options"

This commit is contained in:
Jenkins 2015-07-10 21:10:57 +00:00 committed by Gerrit Code Review
commit 19775d4131
2 changed files with 6 additions and 2 deletions

View File

@ -95,3 +95,7 @@ galera_debconf_items:
name: "{{ galera_mariadb_server_package }}"
value: "{{ galera_root_password }}"
vtype: "string"
# Galera slow/unindexed query logging
galera_slow_query_logging: 0
galera_unindexed_query_logging: 0

View File

@ -29,8 +29,8 @@ character-set-server = utf8
datadir = /var/lib/mysql
# LOGGING #
log-queries-not-using-indexes = 1
slow-query-log = 1
log-queries-not-using-indexes = {{ galera_unindexed_query_logging }}
slow-query-log = {{ galera_slow_query_logging }}
slow-query-log-file = /var/log/mysql_logs/mysql-slow.log
log_error = /var/log/mysql_logs/galera_server_error.log
log-bin = /var/lib/mysql/mariadb-bin