From e88488f1cf714b097a33a014128ca94c0a1b75b9 Mon Sep 17 00:00:00 2001 From: Miguel Angel Medinilla Luque Date: Wed, 3 Jul 2024 13:28:09 +0200 Subject: [PATCH] Change log error verbosity Connects to https://github.com/artefactual-labs/ansible-percona/issues/83 --- templates/etc_my.cnf-centos.j2 | 2 +- templates/etc_mysql_my.cnf.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/etc_my.cnf-centos.j2 b/templates/etc_my.cnf-centos.j2 index f5ed687..5f92543 100644 --- a/templates/etc_my.cnf-centos.j2 +++ b/templates/etc_my.cnf-centos.j2 @@ -70,7 +70,7 @@ log_error = /var/log/mysqld.log {% if mysql_version_major|int < 8 %} log_warnings = 2 {% else %} -log_error_verbosity = 2 +log_error_verbosity = 1 {% endif %} #general_log_file = /var/log/mysql/mysqld.log #general_log = 1 diff --git a/templates/etc_mysql_my.cnf.j2 b/templates/etc_mysql_my.cnf.j2 index 2ca2e42..d9328ac 100644 --- a/templates/etc_mysql_my.cnf.j2 +++ b/templates/etc_mysql_my.cnf.j2 @@ -68,7 +68,7 @@ log_error = /var/log/mysql/error.log {% if mysql_version_major|int < 8 %} log_warnings = 2 {% else %} -log_error_verbosity = 2 +log_error_verbosity = 1 {% endif %} #general_log_file = /var/log/mysql/mysql.log #general_log = 1