Some modifications to the diff logger