Update example to reflect logging