Added log statement to match Python example output