Commit 84f21c14 authored by Jérome Perrin's avatar Jérome Perrin

erp5: enable mariadb general log

https://mariadb.com/kb/en/general-query-log/
parent a76987c1
...@@ -42,7 +42,7 @@ md5sum = d32417746fcf671d4e86a70379815039 ...@@ -42,7 +42,7 @@ md5sum = d32417746fcf671d4e86a70379815039
[template-my-cnf] [template-my-cnf]
filename = my.cnf.in filename = my.cnf.in
md5sum = 24fc9b93d4108d29a1ee3aa46583366c md5sum = 4229e833f08719c8960a749d607b6518
[template-mariadb-initial-setup] [template-mariadb-initial-setup]
filename = mariadb_initial_setup.sql.in filename = mariadb_initial_setup.sql.in
......
...@@ -73,6 +73,8 @@ skip_character_set_client_handshake ...@@ -73,6 +73,8 @@ skip_character_set_client_handshake
# debugging # debugging
core_file core_file
general_log
general_log_file = ../../var/log/mariadb_general_.log
{% if 'ssl-key' in parameter_dict -%} {% if 'ssl-key' in parameter_dict -%}
ssl_cert = {{ parameter_dict['ssl-crt'] }} ssl_cert = {{ parameter_dict['ssl-crt'] }}
......
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