script to rotate MySQL slow logs