Skip to content

Commit 0622919

Browse files
committed
Switch MariaDB log from general log to error log
The general_log is providing a lot logs, that later are breaking logcli tool. We don't need to grab all logs, but just more important which are error_log messages. The fluentbit forwarder sidecard container for MariaDB is monitoring only logs with extension: '.log', so let's create such file, so the health check tests whould be also satisfied with that change. Change-Id: Ie3e4a8c9bcff12c86fed5c5acfa14d32e9b77245
1 parent 4a6c114 commit 0622919

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

controllers/static/mariadb/my.cnf.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ init-file=/docker-entrypoint-initdb.d/initfile.sql
88
innodb_file_per_table=on
99

1010
[mariadb]
11-
general_log
12-
general_log_file=/var/log/mariadb/mariadb.log
11+
log_error=/var/log/mariadb/error.log

0 commit comments

Comments
 (0)