Added slow query logger.