add in logging for full-fledged example
add in logging for full-fledged example