Package: mysql-server
Version: 4.0.24-10

I recently got burned by the addition of a (new) log rotate file that's not even self consistent with the internal documentation:


--------------------
mysql# cat /etc/mysql/debian-log-rotate.conf
# This is the config file for
#       /etc/logrotate.d/mysql-server (for normal logs)
#       /etc/cron.daily/mysql-server (for binary logs)
# It should be kept in shell script syntax and contain only variables.
#
# Both log file types are rotated daily, whenever "FLUSH LOGS;" is
# issued and when the server (re)starts so do not choose too low numbers.

# Configuring /etc/logrotate.d/mysql-server does not yet work.

# The number of binary log files that are kept. They are rotated daily
# and on "FLUSH LOGS;". A value of 0 disables rotating and is set as default
# for backward compatibility.
KEEP_BINARY_LOGS=7


---------------------------

7 != 0; I lost major logs of data that I was happily managing my own way until this came through and cleaned them, OH so helpfully, silently.

Thanks




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to