/san/mysqllogs/slowlogs/slow-log {
create 640 mysql mysql
notifempty
daily
rotate 5
missingok
#compress
postrotate
# just if mysqld is really running
if test -x /usr/bin/mysqladmin && \
/usr/bin/mysqladmin --defaults-file=/root/.my.cnf ping &>/dev/null
then
/usr/bin/mysqladmin --defaults-file=/root/.my.cnf flush-logs
fi
endscript
}