COOK-2681 - Mysql log slow queries broken for 5.5+