Package changes: -galera-4 26.4.9-stretch amd64 +galera-4 26.4.11-stretch amd64 -libmariadb3 1:10.7.1+maria~stretch amd64 -libmariadbclient18 1:10.7.1+maria~stretch amd64 +libmariadb3 1:10.7.3+maria~stretch amd64 +libmariadbclient18 1:10.7.3+maria~stretch amd64 -libpython2.7 2.7.13-2+deb9u5 amd64 -libpython2.7-dev 2.7.13-2+deb9u5 amd64 -libpython2.7-minimal 2.7.13-2+deb9u5 amd64 -libpython2.7-stdlib 2.7.13-2+deb9u5 amd64 +libpython2.7 2.7.13-2+deb9u6 amd64 +libpython2.7-dev 2.7.13-2+deb9u6 amd64 +libpython2.7-minimal 2.7.13-2+deb9u6 amd64 +libpython2.7-stdlib 2.7.13-2+deb9u6 amd64 -mariadb-client-10.7 1:10.7.1+maria~stretch amd64 -mariadb-client-core-10.7 1:10.7.1+maria~stretch amd64 -mariadb-common 1:10.7.1+maria~stretch all -mariadb-server 1:10.7.1+maria~stretch all +mariadb-client-10.7 1:10.7.3+maria~stretch amd64 +mariadb-client-core-10.7 1:10.7.3+maria~stretch amd64 +mariadb-common 1:10.7.3+maria~stretch all +mariadb-server 1:10.7.3+maria~stretch all -mariadb-server-10.7 1:10.7.1+maria~stretch amd64 -mariadb-server-core-10.7 1:10.7.1+maria~stretch amd64 +mariadb-server-10.7 1:10.7.3+maria~stretch amd64 +mariadb-server-core-10.7 1:10.7.3+maria~stretch amd64 -mysql-common 1:10.7.1+maria~stretch all +mysql-common 1:10.7.3+maria~stretch all -python2.7 2.7.13-2+deb9u5 amd64 -python2.7-dev 2.7.13-2+deb9u5 amd64 -python2.7-minimal 2.7.13-2+deb9u5 amd64 +python2.7 2.7.13-2+deb9u6 amd64 +python2.7-dev 2.7.13-2+deb9u6 amd64 +python2.7-minimal 2.7.13-2+deb9u6 amd64
21 lines
750 B
Plaintext
21 lines
750 B
Plaintext
# - I put everything in one block and added sharedscripts, so that mysql gets
|
|
# 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/mysql.log /var/log/mysql/mysql-slow.log /var/log/mysql/mariadb-slow.log /var/log/mysql/error.log {
|
|
daily
|
|
rotate 7
|
|
missingok
|
|
create 640 mysql adm
|
|
compress
|
|
sharedscripts
|
|
postrotate
|
|
test -x /usr/bin/mysqladmin || exit 0
|
|
# check if server is running
|
|
if mysqladmin ping > /dev/null 2>&1; then
|
|
mysqladmin --defaults-file=/etc/mysql/debian.cnf --local flush-error-log \
|
|
flush-engine-log flush-general-log flush-slow-log
|
|
fi
|
|
endscript
|
|
}
|