Comment to task #5754 in mysql: mysql error log

Flyspray - The bug killer! btsadmin at pld-linux.org
Mon Feb 13 09:35:33 CET 2006


Project: PLD 2.x (Ac)
  
  Package: mysql
  Summary: mysql error log
  Commented by: Elan Ruusamäe (glen)
  Comment: there's one problem. as "If you execute FLUSH LOGS, the
error log is renamed with the suffix -old and mysqld creates a new
empty log file."

which means every mysqld instance using same error log will rotate the
same file to "-old", which means all logs are lost if instances > 1.

also the fact that rotation happens after FLUSH LOGS command could
trigger log file rotation, and logrotate program is not able to move
that to logs 'archive' dir is bad.

For more further see:
http://bugs.pld-linux.org/index.php?do=details&id=5754&area=comments#tabs}

------------------------------------------------------------------------
THIS IS AN AUTOMATICALLY GENERATED MESSAGE, DO NOT REPLY



More information about the pld-bugs mailing list