summaryrefslogtreecommitdiff
path: root/support-files/mysql-log-rotate.sh
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-09-24 11:16:36 +0400
committerAlexander Barkov <bar@mariadb.com>2019-09-24 11:18:39 +0400
commit5f118b26c83960c8fa98bfd544f57ffd76b55304 (patch)
tree762e9475ea3b0e402ebd0571a55958b377a3fab4 /support-files/mysql-log-rotate.sh
parent896974fc3d721aabe1afbf637a566cab856a731d (diff)
parent67b0faa29e59387b74ae8547c96cf0f31fc3d9d1 (diff)
downloadmariadb-git-5f118b26c83960c8fa98bfd544f57ffd76b55304.tar.gz
Merge remote-tracking branch 'origin/5.5' into 10.1
Diffstat (limited to 'support-files/mysql-log-rotate.sh')
-rw-r--r--support-files/mysql-log-rotate.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/support-files/mysql-log-rotate.sh b/support-files/mysql-log-rotate.sh
index 5d1b30b208e..293229d8482 100644
--- a/support-files/mysql-log-rotate.sh
+++ b/support-files/mysql-log-rotate.sh
@@ -1,9 +1,9 @@
# This logname can be set in /etc/my.cnf
-# by setting the variable "err-log"
-# in the [safe_mysqld] section as follows:
+# by setting the variable "log-error"
+# in the [mysqld] section as follows:
#
-# [safe_mysqld]
-# err-log=@localstatedir@/mysqld.log
+# [mysqld]
+# log-error=@localstatedir@/mysqld.log
#
# If the root user has a password you have to create a
# /root/.my.cnf configuration file with the following
@@ -21,7 +21,7 @@
@localstatedir@/mysqld.log {
# create 600 mysql mysql
notifempty
- daily
+ daily
rotate 3
missingok
compress