Skip to content

Commit

Permalink
fix debian logrotate slow log filename
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Christian Loos authored and Sergey Vojtovich committed Dec 7, 2015
1 parent 0df22a5 commit ee2fce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/mariadb-server-5.5.mysql-server.logrotate
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee2fce5

Please sign in to comment.