Changed some logging in the example