Add support for sites with binary logging enabled