Revert change to logging