adapt logging in the duplex