Remove exportLogLocal and integrate directly the code into pairing::repairing