mysql slow log collection and process