revert logging changes