Added logging to the persistance wiring.