changed to binary logging