mirror of
https://github.com/MariaDB/server.git
synced 2026-05-03 13:45:34 +02:00
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.
This commit is contained in:
parent
0df22a539e
commit
ee2fce5e88
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue