adding some logging statements

Given that this is a sample, it would be nicer to specify argument names here and make a note saying we want `Verbose` messages to show up in the output.