[Commits] ee2fce5: fix debian logrotate slow log filename

Sergey Vojtovich svoj at mariadb.org
Mon Dec 7 11:10:43 EET 2015


revision-id: ee2fce5e88b3ea4a3193422105c83dc1582de29f (mariadb-5.5.46-17-gee2fce5)
parent(s): 0df22a539e046a9090a99f10260cf6d80f0c4e26
committer: Sergey Vojtovich
timestamp: 2015-12-07 13:10:43 +0400
message:

fix debian logrotate slow log filename

debian/additions/my.cnf sets slow_query_log_file to
/var/log/mysql/mariadb-slow.log.

Update the filename to rotate the slow log file.

---
 debian/mariadb-server-5.5.mysql-server.logrotate | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/mariadb-server-5.5.mysql-server.logrotate b/debian/mariadb-server-5.5.mysql-server.logrotate
index 0f0de51..789ad35 100644
--- a/debian/mariadb-server-5.5.mysql-server.logrotate
+++ b/debian/mariadb-server-5.5.mysql-server.logrotate
@@ -2,7 +2,7 @@
 #   flush-logs'd only once.
 #   Else the binary logs would automatically increase by n times every day.
 # - The error log is obsolete, messages go to syslog now.
-/var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log {
+/var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mariadb-slow.log {
 	daily
 	rotate 7
 	missingok


More information about the commits mailing list