• Daniel Black's avatar
    MDEV-11610: Alter Debian log rotate to not rotate binary/relay logs · 156cf86d
    Daniel Black authored
    Rotating binary/relay logs can cause interuption to the processing
    on the server. Binary and relay logs have their own mechanism already
    for not getting out of control (expire_logs_days).
    
    By no longer rotating binary and relay logs log rotation is limited to
    the following logs:
    * error log
    * general log
    * slow query log
    
    Writing these to the binary log would cause any logrotation on the
    slave to occur twice, once due to this and another due to the log-
    rotate script on the slave. Now --local is passed to mysqladmin to
    prevent this duplication.
    156cf86d
mariadb-server-10.0.mysql-server.logrotate 765 Bytes